diff options
author | Ian Romanick <[email protected]> | 2012-12-01 10:56:40 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2012-12-03 21:26:48 -0800 |
commit | bdba4b30de15c4e7e6546f7eda37932d281f869c (patch) | |
tree | a0e5c339f9e72faa5f2a791f198866b0f7c3238b /src/mesa/drivers/dri | |
parent | a13f9dfbb88720c9ccca443e834106a80e69fedb (diff) |
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 <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rwxr-xr-x | src/mesa/drivers/dri/intel/intel_extensions.c | 3 |
1 files changed, 1 insertions, 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; |