From bdba4b30de15c4e7e6546f7eda37932d281f869c Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Sat, 1 Dec 2012 10:56:40 -0800 Subject: [PATCH] intel: Always enable GL_ARB_framebuffer_object Now that _mesa_BindFramebuffer does the right thing in ES contexts when the gl_extensions::ARB_framebuffer_object bit is set, the Intel driver doesn't need this hack. No piglit or GLES2 conformance regressions observed on IVB, and this patch (and the previous) fix es3conform's framebuffer_srgb_draw and transform_feedback_misc tests. Signed-off-by: Ian Romanick Reviewed-by: Chad Versace Reviewed-by: Matt Turner Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/intel/intel_extensions.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c b/src/mesa/drivers/dri/intel/intel_extensions.c index 94332cdd504..96288ab2fe1 100755 --- a/src/mesa/drivers/dri/intel/intel_extensions.c +++ b/src/mesa/drivers/dri/intel/intel_extensions.c @@ -45,8 +45,7 @@ intelInitExtensions(struct gl_context *ctx) ctx->Extensions.ARB_draw_elements_base_vertex = true; ctx->Extensions.ARB_explicit_attrib_location = true; - if (_mesa_is_desktop_gl(ctx)) - ctx->Extensions.ARB_framebuffer_object = true; + ctx->Extensions.ARB_framebuffer_object = true; ctx->Extensions.ARB_half_float_pixel = true; ctx->Extensions.ARB_map_buffer_range = true; ctx->Extensions.ARB_point_sprite = true; -- 2.30.2