Revision: 148 http://trac.macosforge.org/projects/xquartz/changeset/148 Author: gstaplin@apple.com Date: 2009-02-16 14:46:30 -0800 (Mon, 16 Feb 2009) Log Message: ----------- Modify the test a bit for GLXPixmaps. Modified Paths: -------------- AppleSGLX/trunk/tests/glxpixmap/glxpixmap.c Modified: AppleSGLX/trunk/tests/glxpixmap/glxpixmap.c =================================================================== --- AppleSGLX/trunk/tests/glxpixmap/glxpixmap.c 2009-02-16 22:45:56 UTC (rev 147) +++ AppleSGLX/trunk/tests/glxpixmap/glxpixmap.c 2009-02-16 22:46:30 UTC (rev 148) @@ -193,12 +193,13 @@ glClear( GL_COLOR_BUFFER_BIT ); glViewport( 0, 0, 300, 300 ); glOrtho( -1.0, 1.0, -1.0, 1.0, -1.0, 1.0 ); - glColor3f( 0.0, 1.0, 1.0 ); + glColor3f( 0.0, 0.0, 1.0 ); glRectf( -0.75, -0.75, 0.75, 0.75 ); glFlush(); XMapWindow( dpy, win ); event_loop( dpy, pm ); + return 0; }