summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-01-05 21:17:55 -0700
committerBrian Paul <brianp@vmware.com>2010-01-05 21:17:55 -0700
commite16fd07225b07e87b79015988b9806aefa032dd3 (patch)
tree4230683ac38a13eb84213dab0659f0a8880ef57a
parent88330c64388a3322a64a7afb75cd5a6a51581928 (diff)
mesa: added version fields to GLcontext
-rw-r--r--src/mesa/main/mtypes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 01ad246504..5227565f87 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2864,6 +2864,10 @@ struct __GLcontextRec
/** Extension information */
struct gl_extensions Extensions;
+ /** Version info */
+ GLuint VersionMajor, VersionMinor;
+ char *VersionString;
+
/** \name State attribute stack (for glPush/PopAttrib) */
/*@{*/
GLuint AttribStackDepth;