mesa: added version fields to GLcontext
authorBrian Paul <brianp@vmware.com>
Wed, 6 Jan 2010 04:17:55 +0000 (21:17 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 6 Jan 2010 04:17:55 +0000 (21:17 -0700)
src/mesa/main/mtypes.h

index 01ad246504aa4536b9ba1fb69a3f01522266ced3..5227565f8769f495c0f5a784d7f6e05ce8686e37 100644 (file)
@@ -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;