summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_cache.h
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2007-09-20 10:07:10 -0400
committerZack Rusin <[email protected]>2007-09-20 10:07:10 -0400
commit7a06c026ad24b74048f6d125383faf25deb1dfbb (patch)
treee6422224c0da110d2d2e2349377c29ddc976684f /src/mesa/state_tracker/st_cache.h
parenta6c0c5532f7bfa50ae54c36cf4d74ad4b9f926f8 (diff)
Fix failover state binding and convert the sampler to use the new
state constant state object semantics.
Diffstat (limited to 'src/mesa/state_tracker/st_cache.h')
-rw-r--r--src/mesa/state_tracker/st_cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cache.h b/src/mesa/state_tracker/st_cache.h
index 167d9ec11a7..483af6fdb43 100644
--- a/src/mesa/state_tracker/st_cache.h
+++ b/src/mesa/state_tracker/st_cache.h
@@ -43,7 +43,7 @@ const struct cso_blend *
st_cached_blend_state(struct st_context *st,
const struct pipe_blend_state *blend);
-struct pipe_sampler_state *
+const struct cso_sampler *
st_cached_sampler_state(struct st_context *st,
const struct pipe_sampler_state *sampler);