[Mesa-dev] [PATCH v4 6/7] intel: add support for using API_OPENGL_CORE
Jordan Justen
jordan.l.justen at intel.com
Fri Jul 27 14:45:14 PDT 2012
Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
---
src/mesa/drivers/dri/intel/intel_extensions.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c b/src/mesa/drivers/dri/intel/intel_extensions.c
index c2bc072..b752216 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;
--
1.7.9.5
More information about the mesa-dev
mailing list