[Mesa-dev] [PATCH 3/6] mesa: change ctx->Driver.NeedFlush to GLbitfield and update comment
Brian Paul
brianp at vmware.com
Thu May 2 15:28:09 PDT 2013
---
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;
--
1.7.3.4
More information about the mesa-dev
mailing list