summaryrefslogtreecommitdiffstats
path: root/progs/egl/egltri.c
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2008-08-17 21:59:00 +0100
committerAlan Hourihane <alanh@tungstengraphics.com>2008-08-17 21:59:00 +0100
commit5c9d0c7052112a888174828024b75767222915b9 (patch)
treefba8a8ae81c84363f15ce1216dd0d33979a733b6 /progs/egl/egltri.c
parent9bbc55116f36a357ee75d2766b0adb039eaca806 (diff)
downloadexternal_mesa3d-5c9d0c7052112a888174828024b75767222915b9.zip
external_mesa3d-5c9d0c7052112a888174828024b75767222915b9.tar.gz
external_mesa3d-5c9d0c7052112a888174828024b75767222915b9.tar.bz2
pick first mode
Diffstat (limited to 'progs/egl/egltri.c')
-rw-r--r--progs/egl/egltri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/egl/egltri.c b/progs/egl/egltri.c
index 43190ba..44096d9 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;