choose a 1024x768 resolution

This commit is contained in:
Alan Hourihane
2008-08-17 19:13:17 +01:00
parent 3eeafb7179
commit b6db08a91b
+1 -1
View File
@@ -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;