From: Brian Paul Date: Sat, 4 May 2013 01:00:07 +0000 (-0600) Subject: mesa: change ctx->Driver.NeedFlush to GLbitfield and update comment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b762305d52ec3ec8eb896c471e18e816adc05c9;p=mesa.git mesa: change ctx->Driver.NeedFlush to GLbitfield and update comment Reviewed-by: José Fonseca --- 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;