mesa: use gl_texture_index type for gl_program::SamplerTargets
authorBrian Paul <brianp@vmware.com>
Tue, 25 Aug 2009 23:37:38 +0000 (17:37 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 25 Aug 2009 23:46:10 +0000 (17:46 -0600)
src/mesa/main/mtypes.h

index 2d497ff2c61bdc96371dc7e010b80daaa54645e8..53dc6360ea1a0658c9934c6f2c2c37cb99fac726 100644 (file)
@@ -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 */
    /*@{*/