diff options
author | Brian <[email protected]> | 2008-02-26 19:31:22 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2008-02-26 19:31:22 -0700 |
commit | 4da19dbcaa9f3e2d20fffd0145bf0bc756dd7542 (patch) | |
tree | efd946fe548caad53bec8b64a6152c3d5f621149 /src/gallium/drivers/i965simple/brw_state.c | |
parent | a6044bdf74bae96f05310ad6e39942f172b8ab02 (diff) |
gallium: remove pipe parameter from pipe_texture_reference()
Added pipe field to pipe_texture (temporary, see comments).
First step toward context-less texture creation...
Diffstat (limited to 'src/gallium/drivers/i965simple/brw_state.c')
-rw-r--r-- | src/gallium/drivers/i965simple/brw_state.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/i965simple/brw_state.c b/src/gallium/drivers/i965simple/brw_state.c index 2fc048bde00..7466fdc403d 100644 --- a/src/gallium/drivers/i965simple/brw_state.c +++ b/src/gallium/drivers/i965simple/brw_state.c @@ -328,8 +328,7 @@ static void brw_set_sampler_texture(struct pipe_context *pipe, { struct brw_context *brw = brw_context(pipe); - pipe_texture_reference(pipe, - (struct pipe_texture **) &brw->attribs.Texture[unit], + pipe_texture_reference((struct pipe_texture **) &brw->attribs.Texture[unit], texture); brw->state.dirty.brw |= BRW_NEW_TEXTURE; |