aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/enable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/enable.c')
-rw-r--r--src/mesa/main/enable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c
index 84f036071a2..d1b2f3a9625 100644
--- a/src/mesa/main/enable.c
+++ b/src/mesa/main/enable.c
@@ -68,9 +68,9 @@ static void
vao_state(struct gl_context *ctx, gl_vert_attrib attr, GLboolean state)
{
if (state)
- _mesa_enable_vertex_array_attrib(ctx, ctx->Array.VAO, attr, true);
+ _mesa_enable_vertex_array_attrib(ctx, ctx->Array.VAO, attr);
else
- _mesa_disable_vertex_array_attrib(ctx, ctx->Array.VAO, attr, true);
+ _mesa_disable_vertex_array_attrib(ctx, ctx->Array.VAO, attr);
}