summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_extensions.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-09-27 23:18:17 +0200
committerMarek Olšák <[email protected]>2011-09-30 23:19:52 +0200
commitba89086e79b22bd9578ea642846108de624c91e9 (patch)
tree371684650bf9becd4145d4cb95801047f451913a /src/mesa/state_tracker/st_extensions.c
parent3d13b081c72626acba6b9a25baec740c60dfafe1 (diff)
gallium: add PIPE_CAP_TEXTURE_BARRIER
Same issue as with conditional_render. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_extensions.c')
-rw-r--r--src/mesa/state_tracker/st_extensions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
index 7be3f4077ab..8865440d9c6 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/state_tracker/st_extensions.c
@@ -611,7 +611,7 @@ void st_init_extensions(struct st_context *st)
ctx->Extensions.ARB_sync = GL_TRUE;
}
- if (st->pipe->texture_barrier) {
+ if (screen->get_param(screen, PIPE_CAP_TEXTURE_BARRIER)) {
ctx->Extensions.NV_texture_barrier = GL_TRUE;
}