st/mesa: implement conditional rendering

This commit is contained in:
Brian Paul
2009-12-31 14:47:21 -07:00
parent f1b382d2e6
commit c9b5583518
6 changed files with 138 additions and 0 deletions

View File

@@ -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;
}
}