summaryrefslogtreecommitdiff
path: root/xc/extras/Mesa/src/attrib.c
diff options
context:
space:
mode:
Diffstat (limited to 'xc/extras/Mesa/src/attrib.c')
-rw-r--r--xc/extras/Mesa/src/attrib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xc/extras/Mesa/src/attrib.c b/xc/extras/Mesa/src/attrib.c
index a6323ad04..9883ecfb5 100644
--- a/xc/extras/Mesa/src/attrib.c
+++ b/xc/extras/Mesa/src/attrib.c
@@ -1038,7 +1038,7 @@ _mesa_PopAttrib(void)
_mesa_set_enable(ctx, GL_CLIP_PLANE0 + i, GL_FALSE );
}
if (ctx->Driver.ClipPlane)
- ctx->Driver.ClipPlane( ctx, i, eyePlane );
+ ctx->Driver.ClipPlane( ctx, GL_CLIP_PLANE0 + i, eyePlane );
}
/* normalize/rescale */