Module: Mesa
Branch: master
Commit: 7b762305d52ec3ec8eb896c471e18e816adc05c9
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b762305d52ec3ec8eb896c471e18e816adc05c9

Author: Brian Paul <[email protected]>
Date:   Fri May  3 19:00:07 2013 -0600

mesa: change ctx->Driver.NeedFlush to GLbitfield and update comment

Reviewed-by: José Fonseca <[email protected]>

---

 src/mesa/main/dd.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index c5531a4..adace3b 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -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;

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to