mesa: change ctx->Driver.NeedFlush to GLbitfield and update comment 47/6447/1
authorBrian Paul <brianp@vmware.com>
Sat, 4 May 2013 01:00:07 +0000 (19:00 -0600)
committerBrian Paul <brianp@vmware.com>
Sat, 4 May 2013 01:00:07 +0000 (19:00 -0600)
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mesa/main/dd.h

index c5531a4..adace3b 100644 (file)
@@ -696,13 +696,13 @@ struct dd_function_table {
 #define FLUSH_UPDATE_CURRENT  0x2
    /**
     * Set by the driver-supplied T&L engine whenever vertices are buffered
-    * between glBegin()/glEnd() objects or __struct gl_contextRec::Current is not
-    * updated.
+    * between glBegin()/glEnd() objects or __struct gl_contextRec::Current
+    * is not updated.  A bitmask of the FLUSH_x values above.
     *
     * The dd_function_table::FlushVertices call below may be used to resolve
     * these conditions.
     */
-   GLuint NeedFlush;
+   GLbitfield NeedFlush;
 
    /** Need to call SaveFlushVertices() upon state change? */
    GLboolean SaveNeedFlush;