summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/enable.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-11-15 23:53:04 +0100
committerMarek Olšák <[email protected]>2017-11-25 17:18:22 +0100
commit78942e7dbfd234ce080b2773b9317a61deb77788 (patch)
tree71a93812dcc3229abee231c51ec40f39aa1aeb51 /src/mesa/main/enable.c
parent43abaf2ad0c1c42e56e47732395cc98912a050e8 (diff)
mesa: shrink VERT_ATTRIB bitfields to 32 bits
There are only 32 vertex attribs now. Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/enable.c')
-rw-r--r--src/mesa/main/enable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c
index 8e99f2504f1..c859a7ae1c7 100644
--- a/src/mesa/main/enable.c
+++ b/src/mesa/main/enable.c
@@ -64,7 +64,7 @@ static void
client_state(struct gl_context *ctx, GLenum cap, GLboolean state)
{
struct gl_vertex_array_object *vao = ctx->Array.VAO;
- GLbitfield64 flag;
+ GLbitfield flag;
GLboolean *var;
switch (cap) {