[Mesa-dev] [PATCH 2/4] st/mesa: use GLbitfield in st_state_flags, add comments

Brian Paul brianp at vmware.com
Wed Jan 6 08:51:41 PST 2016


Use GLbitfield instead of GLuint to be consistent with other variables.
---
 src/mesa/state_tracker/st_context.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h
index 35c8932..91b0f97 100644
--- a/src/mesa/state_tracker/st_context.h
+++ b/src/mesa/state_tracker/st_context.h
@@ -65,8 +65,8 @@ struct u_upload_mgr;
 
 
 struct st_state_flags {
-   GLuint mesa;
-   uint64_t st;
+   GLbitfield mesa;  /**< Mask of _NEW_x flags */
+   uint64_t st;      /**< Mask of ST_NEW_x flags */
 };
 
 struct st_tracked_state {
-- 
1.9.1



More information about the mesa-dev mailing list