diff options
-rw-r--r-- | kmscube.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -113,11 +113,10 @@ int main(int argc, char *argv[]) return -1; } - if (mode == SMOOTH) { + if (mode == SMOOTH) egl = init_cube_smooth(gbm); - } else { + else egl = init_cube_tex(gbm, mode); - } if (!egl) { printf("failed to initialize EGL\n"); |