aboutsummaryrefslogtreecommitdiffstats
path: root/progs/egl/eglgears.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/egl/eglgears.c')
-rw-r--r--progs/egl/eglgears.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/egl/eglgears.c b/progs/egl/eglgears.c
index 20f6c1ff6ea..31346d95230 100644
--- a/progs/egl/eglgears.c
+++ b/progs/egl/eglgears.c
@@ -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;