projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3eeafb7
)
choose a 1024x768 resolution
author
Alan Hourihane
<alanh@tungstengraphics.com>
Sun, 17 Aug 2008 18:13:17 +0000
(19:13 +0100)
committer
Alan Hourihane
<alanh@tungstengraphics.com>
Sun, 17 Aug 2008 18:13:17 +0000
(19:13 +0100)
progs/egl/egltri.c
patch
|
blob
|
history
diff --git
a/progs/egl/egltri.c
b/progs/egl/egltri.c
index 78c67939b28b5dfdd1c4358c9198ed9b3880185b..43190ba7e17f2948b4ff71d169c52fc97b94a87d 100644
(file)
--- 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 <= 1
280 && h <= 1024
) {
+ if (w > width && h > height && w <= 1
024 && h <= 768
) {
width = w;
height = h;
chosenMode = i;