Mesa (master): mesa: added version fields to GLcontext

Brian Paul brianp at kemper.freedesktop.org
Wed Jan 6 04:31:00 UTC 2010


Module: Mesa
Branch: master
Commit: e16fd07225b07e87b79015988b9806aefa032dd3
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e16fd07225b07e87b79015988b9806aefa032dd3

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jan  5 21:17:55 2010 -0700

mesa: added version fields to GLcontext

---

 src/mesa/main/mtypes.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 01ad246..5227565 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;




More information about the mesa-commit mailing list