mesa: add support for using API_OPENGL_CORE

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>
This commit is contained in:
Jordan Justen
2012-07-19 11:27:16 -07:00
parent 3d284dcba6
commit 09714c09a4
11 changed files with 29 additions and 19 deletions

View File

@@ -41,7 +41,9 @@
enum {
DISABLE = 0,
GL = 1 << API_OPENGL,
GLL = 1 << API_OPENGL, /* GL Legacy / Compatibility */
GLC = 1 << API_OPENGL_CORE, /* GL Core */
GL = (1 << API_OPENGL) | (1 << API_OPENGL_CORE),
ES1 = 1 << API_OPENGLES,
ES2 = 1 << API_OPENGLES2,
};