summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_extensions.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-01-04 11:47:39 -0700
committerBrian Paul <[email protected]>2010-01-04 11:47:39 -0700
commit0fb1eaddfbaf487067e0ff4f1d6f82145b6b0acd (patch)
tree0f3f0239f09d5681e38a474259e018ba34a160a2 /src/mesa/state_tracker/st_extensions.c
parent195568e4cb0524d71db0ac68cf5a95b33a1af6b4 (diff)
parentc9b558351847133dced0c9daaeb84d57d550afc9 (diff)
Merge branch 'gallium-conditional-rendering'
Diffstat (limited to 'src/mesa/state_tracker/st_extensions.c')
-rw-r--r--src/mesa/state_tracker/st_extensions.c4
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 ef3cbc53ee0..35e08749df7 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/state_tracker/st_extensions.c
@@ -306,4 +306,8 @@ void st_init_extensions(struct st_context *st)
/* we support always support GL_EXT_framebuffer_blit */
ctx->Extensions.ARB_framebuffer_object = GL_TRUE;
}
+
+ if (st->pipe->render_condition) {
+ ctx->Extensions.NV_conditional_render = GL_TRUE;
+ }
}