summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2008-08-17 19:13:17 +0100
committerAlan Hourihane <alanh@tungstengraphics.com>2008-08-17 19:13:17 +0100
commitb6db08a91be3203222cda21012791659483b4e5e (patch)
treeee84cbb6fccd60e2aa7298e266024406eb4215db
parent3eeafb7179b861ee6359c8747f4e009513d7ce7a (diff)
choose a 1024x768 resolution
-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 78c67939b2..43190ba7e1 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 <= 1280 && h <= 1024) {
+ if (w > width && h > height && w <= 1024 && h <= 768) {
width = w;
height = h;
chosenMode = i;