Mesa (master): mesa: use gl_texture_index type for gl_program:: SamplerTargets

Brian Paul brianp at kemper.freedesktop.org
Tue Aug 25 23:54:15 UTC 2009


Module: Mesa
Branch: master
Commit: 2050baba9692600da7038dd18cbfee794caf4bf4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2050baba9692600da7038dd18cbfee794caf4bf4

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Aug 25 17:37:38 2009 -0600

mesa: use gl_texture_index type for gl_program::SamplerTargets

---

 src/mesa/main/mtypes.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 2d497ff..53dc636 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 */
    /*@{*/




More information about the mesa-commit mailing list