summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2012-07-19 10:38:28 -0700
committerJordan Justen <[email protected]>2012-07-30 16:18:57 -0700
commit1c29b73f4d9f633e32c03bebc8d505b321d833d9 (patch)
treecc7f363890b8dff8b69698a44bf90dd99f65b097
parentd3de40742f50340789ae0df9af582e702e963300 (diff)
mesa: add API_OPENGL_CORE api
Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
-rw-r--r--src/mesa/main/mtypes.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 3d59dc68ec1..7d7213f4d03 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;
/**