glx: indent -br -i3 -npcs --no-tabs single2.c
[mesa.git] / progs / egl / eglgears.c
index a004cb7e8697a4774cd7873e426e985dc7493c1f..31346d95230862453d84ae0edd602a8225c38d13 100644 (file)
@@ -35,8 +35,8 @@
 #include <stdio.h>
 #include <string.h>
 #include <GL/gl.h>
-#include <GLES/egl.h>
-#include <GLES/eglext.h>
+#include <EGL/egl.h>
+#include <EGL/eglext.h>
 
 #define MAX_CONFIGS 10
 #define MAX_MODES 100
@@ -415,7 +415,7 @@ main(int argc, char *argv[])
                eglGetModeAttribMESA(d, mode[i], EGL_WIDTH, &w);
                eglGetModeAttribMESA(d, mode[i], EGL_HEIGHT, &h);
                printf("%3d: %d x %d\n", i, w, h);
-               if (w > width && h > height && w <= 1280 && h <= 1024) {
+               if (w > width && h > height) {
                        width = w;
                        height = h;
                         chosenMode = i;