Revision
243
Author
gstaplin@apple.com
Date
2009-02-22 16:33:30 -0800 (Sun, 22 Feb 2009)

Log Message

Fix a bug with some untested glXPbuffer attributes that a Mesa test brought out.

Modified Paths

Diff

Modified: AppleSGLX/trunk/glx_pbuffer.c (242 => 243)


--- AppleSGLX/trunk/glx_pbuffer.c	2009-02-23 00:14:29 UTC (rev 242)
+++ AppleSGLX/trunk/glx_pbuffer.c	2009-02-23 00:33:30 UTC (rev 243)
@@ -71,10 +71,12 @@
 	    
 	case GLX_LARGEST_PBUFFER:
 	    /* This is a hint we should probably handle, but how? */
+	    ++i;
 	    break;
 
 	case GLX_PRESERVED_CONTENTS:
 	    /* The contents are always preserved with AppleSGLX with CGL. */
+	    ++i;
 	    break;
 	    
 	default: