From 121030eed8fc41789d2f4f7517bbc0dd6199667b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fredrik=20H=C3=B6glund?= Date: Sun, 10 May 2015 21:04:22 +0200 Subject: [PATCH] i915: Enable ARB_direct_state_access MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This extension requires OpenGL 2.0, so enable it on gen3 and later. Signed-off-by: Fredrik Höglund Reviewed-by: Adam Jackson --- src/mesa/drivers/dri/i915/intel_extensions.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2