X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=progs%2Fegl%2Fegltri.c;h=44096d94a2787d5490e1e14ef26cbbf81039175c;hb=a512985fd81c1ed4ccc5e69aaa05015cf7ff844d;hp=78c67939b28b5dfdd1c4358c9198ed9b3880185b;hpb=52912d86167e39bf3655edf773d394fda8718ca4;p=mesa.git diff --git a/progs/egl/egltri.c b/progs/egl/egltri.c index 78c67939b28..44096d94a27 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) { width = w; height = h; chosenMode = i;