summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965/brw_wm.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-11-04 15:59:56 +0000
committerKeith Whitwell <[email protected]>2009-11-04 15:59:56 +0000
commit7373bc0e0294d68bc3e64f4a6de1bb4ec3132f02 (patch)
tree1512e252d70c432d58d485dac8e29ec4acee4c6d /src/gallium/drivers/i965/brw_wm.c
parent9706a83bc959ba8445d0258e47639b44da2238fc (diff)
i965g: hook up pipe sampler callbacks
Diffstat (limited to 'src/gallium/drivers/i965/brw_wm.c')
-rw-r--r--src/gallium/drivers/i965/brw_wm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965/brw_wm.c b/src/gallium/drivers/i965/brw_wm.c
index 4fbf9de9bbc..90780272da5 100644
--- a/src/gallium/drivers/i965/brw_wm.c
+++ b/src/gallium/drivers/i965/brw_wm.c
@@ -248,7 +248,7 @@ static void brw_wm_populate_key( struct brw_context *brw,
/* PIPE_NEW_BOUND_TEXTURES */
for (i = 0; i < brw->curr.num_textures; i++) {
- const struct brw_texture *tex = brw->curr.texture[i];
+ const struct brw_texture *tex = brw_texture(brw->curr.texture[i]);
if (tex->base.format == PIPE_FORMAT_YCBCR)
key->yuvtex_mask |= 1 << i;