projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d87bc01
)
st/mesa: GL_ARB_draw_instanced depends on PIPE_CAP_INSTANCED_DRAWING
author
Brian Paul
<brianp@vmware.com>
Sun, 5 Dec 2010 20:34:02 +0000
(13:34 -0700)
committer
Brian Paul
<brianp@vmware.com>
Sun, 5 Dec 2010 20:34:02 +0000
(13:34 -0700)
src/mesa/state_tracker/st_extensions.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_extensions.c
b/src/mesa/state_tracker/st_extensions.c
index 930b60ade2da68f9f6a04ff71fcf795350f718e0..37a0aa2bc9fe4890a3b2172feb3bee3c660d8acb 100644
(file)
--- 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;
+ }
}