2 * Test case from fdo bug #23489
3 * http://bugs.freedesktop.org/show_bug.cgi?id=23489
6 #include "piglit-util.h"
8 static int Automatic
= 0;
10 static void display(void)
14 for (i
= 0; i
< 100; i
++) {
21 piglit_report_result(PIGLIT_SUCCESS
);
25 static void init(void)
27 glClearColor(0.0, 0.0, 0.0, 0.0);
28 glMatrixMode(GL_PROJECTION
);
30 glOrtho(0.0, 1.0, 0.0, 1.0, -1.0, 1.0);
33 int main(int argc
, char** argv
)
35 glutInit(&argc
, argv
);
36 if (argc
== 2 && !strcmp(argv
[1], "-auto"))
38 glutInitDisplayMode(GLUT_SINGLE
| GLUT_RGB
);
39 glutInitWindowSize(250, 250);
40 glutInitWindowPosition(100, 100);
41 glutCreateWindow("fdo23489");
42 glutKeyboardFunc(piglit_escape_exit_key
);
44 glutDisplayFunc(display
);