Mesa (master): mesa: add API_OPENGL_CORE api

Jordan Justen jljusten at kemper.freedesktop.org
Tue Jul 31 05:51:44 UTC 2012


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

Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Thu Jul 19 10:38:28 2012 -0700

mesa: add API_OPENGL_CORE api

Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

---

 src/mesa/main/mtypes.h |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 3d59dc6..7d7213f 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -3334,9 +3334,10 @@ struct gl_debug_state
  */
 typedef enum
 {
-   API_OPENGL,
+   API_OPENGL,      /* legacy / compatibility contexts */
    API_OPENGLES,
-   API_OPENGLES2
+   API_OPENGLES2,
+   API_OPENGL_CORE,
 } gl_api;
 
 /**




More information about the mesa-commit mailing list