diff options
author | Brian Paul <[email protected]> | 2009-01-02 16:54:11 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-01-02 16:54:11 -0700 |
commit | d917ad5dbd17f2399a5a3590fe6c06a64d683771 (patch) | |
tree | eebd014fbf529c275770a38d62ed2c0065bdd81b /src/mesa/state_tracker/st_atom_texture.c | |
parent | 84cffc2e7fbeab8ed5dfb0b6b8d3829e0654ab02 (diff) |
gallium: assorted state tracker fixes for > 8 texture samplers
Diffstat (limited to 'src/mesa/state_tracker/st_atom_texture.c')
-rw-r--r-- | src/mesa/state_tracker/st_atom_texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_atom_texture.c b/src/mesa/state_tracker/st_atom_texture.c index 18ffc08c6b1..21f7321f97a 100644 --- a/src/mesa/state_tracker/st_atom_texture.c +++ b/src/mesa/state_tracker/st_atom_texture.c @@ -53,7 +53,7 @@ update_textures(struct st_context *st) st->state.num_textures = 0; /* loop over sampler units (aka tex image units) */ - for (su = 0; su < st->ctx->Const.MaxTextureCoordUnits; su++) { + for (su = 0; su < st->ctx->Const.MaxTextureImageUnits; su++) { struct pipe_texture *pt = NULL; if (samplersUsed & (1 << su)) { |