summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2012-07-24 14:52:33 -0700
committerJordan Justen <[email protected]>2012-07-24 15:41:59 -0700
commitf2c8a8f550ce766af5c8d73428a94575c3e36bdb (patch)
tree4f0b225c36fdf72ad1e76dc06d3829034a5ef336
parent631566bd77d049c874d7078897f017e74c499811 (diff)
intel: add support for using API_OPENGL_CORE
Signed-off-by: Jordan Justen <[email protected]>
-rwxr-xr-xsrc/mesa/drivers/dri/intel/intel_extensions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c b/src/mesa/drivers/dri/intel/intel_extensions.c
index c2bc0722afa..b93f326548e 100755
--- a/src/mesa/drivers/dri/intel/intel_extensions.c
+++ b/src/mesa/drivers/dri/intel/intel_extensions.c
@@ -44,7 +44,7 @@ intelInitExtensions(struct gl_context *ctx)
ctx->Extensions.ARB_draw_elements_base_vertex = true;
ctx->Extensions.ARB_explicit_attrib_location = true;
- if (ctx->API == API_OPENGL)
+ if (IS_CTX_DESKTOP_GL(ctx))
ctx->Extensions.ARB_framebuffer_object = true;
ctx->Extensions.ARB_half_float_pixel = true;
ctx->Extensions.ARB_map_buffer_range = true;