projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa6299c
)
mesa: use gl_texture_index type for gl_program::SamplerTargets
author
Brian Paul
<brianp@vmware.com>
Tue, 25 Aug 2009 23:37:38 +0000
(17:37 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 25 Aug 2009 23:46:10 +0000
(17:46 -0600)
src/mesa/main/mtypes.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/mtypes.h
b/src/mesa/main/mtypes.h
index 2d497ff2c61bdc96371dc7e010b80daaa54645e8..53dc6360ea1a0658c9934c6f2c2c37cb99fac726 100644
(file)
--- 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 */
/*@{*/