summaryrefslogtreecommitdiff
path: root/src/mesa/main/mtypes.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-09-27 10:24:17 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-09-27 10:39:01 -0600
commited6d5ff6f8fdd34aaaa126119dbd8e1e321859d8 (patch)
treefc96d0a93505aa755e0b0889b6f0d3f7273ffb5d /src/mesa/main/mtypes.h
parent4f9d29cd4e876cd202a7d3e81f6d91fc7f9625a2 (diff)
Restore old _TriangleCaps code to fix Blender problem (bug 12164)
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r--src/mesa/main/mtypes.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index f5a8c970e4..1fbfeb7447 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -3040,7 +3040,10 @@ struct __GLcontextRec
/** \name Derived state */
/*@{*/
- GLbitfield _TriangleCaps; /**< bitwise-or of DD_* flags */
+ /** Bitwise-or of DD_* flags. Note that this bitfield may be used before
+ * state validation so they need to always be current.
+ */
+ GLbitfield _TriangleCaps;
GLbitfield _ImageTransferState;/**< bitwise-or of IMAGE_*_BIT flags */
GLfloat _EyeZDir[3];
GLfloat _ModelViewInvScale;