summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dd.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-05-03 19:00:07 -0600
committerBrian Paul <[email protected]>2013-05-03 19:00:07 -0600
commit7b762305d52ec3ec8eb896c471e18e816adc05c9 (patch)
tree4a0e52bd153c5db0f409cfe8c63451025f454dc2 /src/mesa/main/dd.h
parent36c83ccca0857dd4cf6b6168b60f5e95ac07fc73 (diff)
mesa: change ctx->Driver.NeedFlush to GLbitfield and update comment
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r--src/mesa/main/dd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index c5531a45031..adace3b70a9 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;