mesa: change ctx->Driver.NeedFlush to GLbitfield and update comment
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 c5531a4503169c9d1694190c758ed1f3b912b881..adace3b70a9e49a623b25e8e11d6482db618d00d 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;