aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_atom_texture.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-01-02 16:54:11 -0700
committerBrian Paul <[email protected]>2009-01-02 16:54:11 -0700
commitd917ad5dbd17f2399a5a3590fe6c06a64d683771 (patch)
treeeebd014fbf529c275770a38d62ed2c0065bdd81b /src/mesa/state_tracker/st_atom_texture.c
parent84cffc2e7fbeab8ed5dfb0b6b8d3829e0654ab02 (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.c2
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)) {