mesa: add API_OPENGL_CORE api
authorJordan Justen <jordan.l.justen@intel.com>
Thu, 19 Jul 2012 17:38:28 +0000 (10:38 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Mon, 30 Jul 2012 23:18:57 +0000 (16:18 -0700)
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/mtypes.h

index 3d59dc68ec1643a5919e6e55983ce9ced042205e..7d7213f4d03621e1f9e9d56bcc201f3b9c466f9e 100644 (file)
@@ -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;
 
 /**