From 09714c09a40501d82823e42f7461d7b8d7bf11c0 Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Thu, 19 Jul 2012 11:27:16 -0700 Subject: mesa: add support for using API_OPENGL_CORE Signed-off-by: Jordan Justen Reviewed-by: Brian Paul Reviewed-by: Eric Anholt Reviewed-by: Ian Romanick --- src/mesa/main/extensions.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/extensions.c') diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 0675ce75da6..a7b481ca771 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensions.c @@ -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, }; -- cgit v1.2.3