aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/state_tracker
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-03-07 07:30:21 +0000
committermarha <marha@users.sourceforge.net>2011-03-07 07:30:21 +0000
commitd550ff64af08efb189450fa7b7104b3e049b5779 (patch)
tree998961e6822ae06c6ef8a288e5bd5cc8dfa77c79 /mesalib/src/mesa/state_tracker
parent98e55fbde340d17fdd0b1cbc408af5fecb4b7a0e (diff)
downloadvcxsrv-d550ff64af08efb189450fa7b7104b3e049b5779.tar.gz
vcxsrv-d550ff64af08efb189450fa7b7104b3e049b5779.tar.bz2
vcxsrv-d550ff64af08efb189450fa7b7104b3e049b5779.zip
Mesa git update 7 Mar 2011
Diffstat (limited to 'mesalib/src/mesa/state_tracker')
-rw-r--r--mesalib/src/mesa/state_tracker/st_extensions.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mesalib/src/mesa/state_tracker/st_extensions.c b/mesalib/src/mesa/state_tracker/st_extensions.c
index d2098987d..6bbf68acc 100644
--- a/mesalib/src/mesa/state_tracker/st_extensions.c
+++ b/mesalib/src/mesa/state_tracker/st_extensions.c
@@ -491,8 +491,10 @@ void st_init_extensions(struct st_context *st)
ctx->Extensions.ARB_shader_stencil_export = GL_TRUE;
}
- if (screen->get_param(screen, PIPE_CAP_INSTANCED_DRAWING)) {
+ if (screen->get_param(screen, PIPE_CAP_TGSI_INSTANCEID)) {
ctx->Extensions.ARB_draw_instanced = GL_TRUE;
+ }
+ if (screen->get_param(screen, PIPE_CAP_VERTEX_ELEMENT_INSTANCE_DIVISOR)) {
ctx->Extensions.ARB_instanced_arrays = GL_TRUE;
}
}