diff options
author | Brian Paul <[email protected]> | 2010-12-05 13:34:02 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-12-05 13:34:02 -0700 |
commit | 9cd277684db5a266b451a719a963556664838d6e (patch) | |
tree | b6243fe0100f4633b1164d9351cd124410c27fd2 /src/mesa | |
parent | d87bc015dc8b84257dc84e92cf4381c11a5086d3 (diff) |
st/mesa: GL_ARB_draw_instanced depends on PIPE_CAP_INSTANCED_DRAWING
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_extensions.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 930b60ade2d..37a0aa2bc9f 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -456,4 +456,8 @@ void st_init_extensions(struct st_context *st) if (screen->get_param(screen, PIPE_CAP_SHADER_STENCIL_EXPORT)) { ctx->Extensions.ARB_shader_stencil_export = GL_TRUE; } + + if (screen->get_param(screen, PIPE_CAP_INSTANCED_DRAWING)) { + ctx->Extensions.ARB_draw_instanced = GL_TRUE; + } } |