summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-08-25 17:37:38 -0600
committerBrian Paul <[email protected]>2009-08-25 17:46:10 -0600
commit2050baba9692600da7038dd18cbfee794caf4bf4 (patch)
tree76105c505bae029dadef67e18d18466759c83e96 /src/mesa/main
parentfa6299cb31b62ff2418138cbb789b900d19a0bca (diff)
mesa: use gl_texture_index type for gl_program::SamplerTargets
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/mtypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 2d497ff2c61..53dc6360ea1 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -1799,7 +1799,7 @@ struct gl_program
/** Map from sampler unit to texture unit (set by glUniform1i()) */
GLubyte SamplerUnits[MAX_SAMPLERS];
/** Which texture target is being sampled (TEXTURE_1D/2D/3D/etc_INDEX) */
- GLubyte SamplerTargets[MAX_SAMPLERS];
+ gl_texture_index SamplerTargets[MAX_SAMPLERS];
/** Logical counts */
/*@{*/