diff options
Diffstat (limited to 'src/mesa/main/clip.c')
-rw-r--r-- | src/mesa/main/clip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/clip.c b/src/mesa/main/clip.c index f994728bc95..0950283ff3c 100644 --- a/src/mesa/main/clip.c +++ b/src/mesa/main/clip.c @@ -83,7 +83,9 @@ _mesa_ClipPlane( GLenum plane, const GLdouble *eq ) if (TEST_EQ_4V(ctx->Transform.EyeUserPlane[p], equation)) return; + /* EyeUserPlane is used by program state constants. */ FLUSH_VERTICES(ctx, _NEW_TRANSFORM); + ctx->NewDriverState |= ctx->DriverFlags.NewClipPlane; COPY_4FV(ctx->Transform.EyeUserPlane[p], equation); if (ctx->Transform.ClipPlanesEnabled & (1 << p)) { |