summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2012-07-24 14:52:33 -0700
committerJordan Justen <[email protected]>2012-07-30 16:25:56 -0700
commit1fea3df6f4455fd2047e631d4d3c85d3ff1029ae (patch)
treec3f0156cc5c06164ca7fa9665b02dbe81dd17ca5 /src
parent0f099df5672a68cf165f550278831356c903515f (diff)
intel: add support for using API_OPENGL_CORE
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]>
Diffstat (limited to 'src')
-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..b75221673b0 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 (_mesa_is_desktop_gl(ctx))
ctx->Extensions.ARB_framebuffer_object = true;
ctx->Extensions.ARB_half_float_pixel = true;
ctx->Extensions.ARB_map_buffer_range = true;