diff options
author | marha <marha@users.sourceforge.net> | 2011-05-03 15:37:14 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-05-03 15:37:14 +0000 |
commit | e4bd55e182560fa87af77ee3ec49fc1a907ead85 (patch) | |
tree | f77ade9dac153a4f45e08ccaf260de8d8ddbbb17 /mesalib/src/mesa/main/enable.c | |
parent | e8af1ef3142aaaf2d17f2d3710e23eee1baf8a61 (diff) | |
parent | cc93496bdbb3e7aea51033ece75fa85cfb5845d4 (diff) | |
download | vcxsrv-e4bd55e182560fa87af77ee3ec49fc1a907ead85.tar.gz vcxsrv-e4bd55e182560fa87af77ee3ec49fc1a907ead85.tar.bz2 vcxsrv-e4bd55e182560fa87af77ee3ec49fc1a907ead85.zip |
svn merge ^/branches/released .
Diffstat (limited to 'mesalib/src/mesa/main/enable.c')
-rw-r--r-- | mesalib/src/mesa/main/enable.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mesalib/src/mesa/main/enable.c b/mesalib/src/mesa/main/enable.c index 8df3ac1f6..bbf9153dc 100644 --- a/mesalib/src/mesa/main/enable.c +++ b/mesalib/src/mesa/main/enable.c @@ -885,15 +885,18 @@ _mesa_set_enable(struct gl_context *ctx, GLenum cap, GLboolean state) case GL_TEXTURE_CUBE_MAP_SEAMLESS:
CHECK_EXTENSION(ARB_seamless_cube_map, cap);
- ctx->Texture.CubeMapSeamless = state;
+ if (ctx->Texture.CubeMapSeamless != state) {
+ FLUSH_VERTICES(ctx, _NEW_TEXTURE);
+ ctx->Texture.CubeMapSeamless = state;
+ }
break;
#if FEATURE_EXT_transform_feedback
case GL_RASTERIZER_DISCARD:
CHECK_EXTENSION(EXT_transform_feedback, cap);
if (ctx->TransformFeedback.RasterDiscard != state) {
- ctx->TransformFeedback.RasterDiscard = state;
FLUSH_VERTICES(ctx, _NEW_TRANSFORM);
+ ctx->TransformFeedback.RasterDiscard = state;
}
break;
#endif
|