diff options
author | Fredrik Höglund <[email protected]> | 2015-05-10 21:04:22 +0200 |
---|---|---|
committer | Fredrik Höglund <[email protected]> | 2015-05-14 15:48:18 +0200 |
commit | 121030eed8fc41789d2f4f7517bbc0dd6199667b (patch) | |
tree | 12a6d5cd4dcfbb1ff495c6ddb294a002ea45df1d /src/mesa/drivers | |
parent | d3368e0c9e27ced6059eb2ecdf2aa999a00e90b0 (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')
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_extensions.c | 1 |
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; |