[Xquartz-changes] [148] AppleSGLX/trunk/tests/glxpixmap/glxpixmap.c

source_changes at macosforge.org source_changes at macosforge.org
Mon Feb 16 14:46:31 PST 2009


Revision: 148
          http://trac.macosforge.org/projects/xquartz/changeset/148
Author:   gstaplin at 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;
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/xquartz-changes/attachments/20090216/1eef8fb6/attachment-0001.html>


More information about the Xquartz-changes mailing list