From: Brian Paul Date: Tue, 25 Aug 2009 23:37:38 +0000 (-0600) Subject: mesa: use gl_texture_index type for gl_program::SamplerTargets X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2050baba9692600da7038dd18cbfee794caf4bf4;p=mesa.git mesa: use gl_texture_index type for gl_program::SamplerTargets --- 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 */ /*@{*/