From: Fredrik Höglund Date: Sun, 10 May 2015 19:04:22 +0000 (+0200) Subject: i915: Enable ARB_direct_state_access X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=121030eed8fc41789d2f4f7517bbc0dd6199667b;p=mesa.git i915: Enable ARB_direct_state_access This extension requires OpenGL 2.0, so enable it on gen3 and later. Signed-off-by: Fredrik Höglund Reviewed-by: Adam Jackson --- diff --git a/src/mesa/drivers/dri/i915/intel_extensions.c b/src/mesa/drivers/dri/i915/intel_extensions.c index ab7820f1232..590c6efcccd 100644 --- a/src/mesa/drivers/dri/i915/intel_extensions.c +++ b/src/mesa/drivers/dri/i915/intel_extensions.c @@ -83,6 +83,7 @@ intelInitExtensions(struct gl_context *ctx) if (intel->gen >= 3) { ctx->Extensions.ARB_ES2_compatibility = true; ctx->Extensions.ARB_depth_texture = true; + ctx->Extensions.ARB_direct_state_access = true; ctx->Extensions.ARB_fragment_program = true; ctx->Extensions.ARB_shadow = true; ctx->Extensions.ARB_texture_non_power_of_two = true;