summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-03-02 15:01:20 -0800
committerEric Anholt <[email protected]>2012-03-02 17:16:11 -0800
commitae92180d724f9b743a088050cdc4ff7dad20c28b (patch)
tree5e070f2b1556a5b0c294c974c54b233f95557ad2 /src/mesa/drivers
parent4d4f2daefabdc4ca1dd778a9265475c65ef52936 (diff)
intel: Don't enable GL_ARB_draw_instanced pre-gen4.
swtnl doesn't handle this extension.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/intel/intel_extensions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c b/src/mesa/drivers/dri/intel/intel_extensions.c
index c4c32ffde5d..a50ab777e9b 100644
--- a/src/mesa/drivers/dri/intel/intel_extensions.c
+++ b/src/mesa/drivers/dri/intel/intel_extensions.c
@@ -43,7 +43,6 @@ intelInitExtensions(struct gl_context *ctx)
struct intel_context *intel = intel_context(ctx);
ctx->Extensions.ARB_draw_elements_base_vertex = true;
- ctx->Extensions.ARB_draw_instanced = true;
ctx->Extensions.ARB_explicit_attrib_location = true;
ctx->Extensions.ARB_framebuffer_object = true;
ctx->Extensions.ARB_half_float_pixel = true;
@@ -108,6 +107,7 @@ intelInitExtensions(struct gl_context *ctx)
ctx->Extensions.ARB_color_buffer_float = true;
ctx->Extensions.ARB_depth_buffer_float = true;
ctx->Extensions.ARB_depth_clamp = true;
+ ctx->Extensions.ARB_draw_instanced = true;
ctx->Extensions.ARB_fragment_coord_conventions = true;
ctx->Extensions.ARB_fragment_program_shadow = true;
ctx->Extensions.ARB_fragment_shader = true;