diff options
author | Alan Hourihane <alanh@tungstengraphics.com> | 2008-08-17 21:59:00 +0100 |
---|---|---|
committer | Alan Hourihane <alanh@tungstengraphics.com> | 2008-08-17 21:59:00 +0100 |
commit | 5c9d0c7052112a888174828024b75767222915b9 (patch) | |
tree | fba8a8ae81c84363f15ce1216dd0d33979a733b6 | |
parent | 9bbc55116f36a357ee75d2766b0adb039eaca806 (diff) |
pick first mode
-rw-r--r-- | progs/egl/eglgears.c | 2 | ||||
-rw-r--r-- | progs/egl/egltri.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/progs/egl/eglgears.c b/progs/egl/eglgears.c index 20f6c1ff6e..31346d9523 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; diff --git a/progs/egl/egltri.c b/progs/egl/egltri.c index 43190ba7e1..44096d94a2 100644 --- a/progs/egl/egltri.c +++ b/progs/egl/egltri.c @@ -201,7 +201,7 @@ int 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 <= 1024 && h <= 768) { + if (w > width && h > height) { width = w; height = h; chosenMode = i; |