summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915
diff options
context:
space:
mode:
authorFredrik Höglund <[email protected]>2015-05-10 21:04:22 +0200
committerFredrik Höglund <[email protected]>2015-05-14 15:48:18 +0200
commit121030eed8fc41789d2f4f7517bbc0dd6199667b (patch)
tree12a6d5cd4dcfbb1ff495c6ddb294a002ea45df1d /src/mesa/drivers/dri/i915
parentd3368e0c9e27ced6059eb2ecdf2aa999a00e90b0 (diff)
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 <[email protected]> Reviewed-by: Adam Jackson <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r--src/mesa/drivers/dri/i915/intel_extensions.c1
1 files changed, 1 insertions, 0 deletions
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;