aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/state_tracker/st_program.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-03-17 14:17:54 +0000
committermarha <marha@users.sourceforge.net>2011-03-17 14:17:54 +0000
commit76b655664dad149451d0abaa15929d1b7b62e0c6 (patch)
treee7c3389fec52eaad405e2025e04555766493022c /mesalib/src/mesa/state_tracker/st_program.c
parenta44b2f0d059871926ffb84dabdae53ddaa390beb (diff)
parentd7f1bd4112420f1d4b41c5409074eca6b34bf507 (diff)
downloadvcxsrv-76b655664dad149451d0abaa15929d1b7b62e0c6.tar.gz
vcxsrv-76b655664dad149451d0abaa15929d1b7b62e0c6.tar.bz2
vcxsrv-76b655664dad149451d0abaa15929d1b7b62e0c6.zip
svn merge ^/branches/released .
Diffstat (limited to 'mesalib/src/mesa/state_tracker/st_program.c')
-rw-r--r--mesalib/src/mesa/state_tracker/st_program.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/src/mesa/state_tracker/st_program.c b/mesalib/src/mesa/state_tracker/st_program.c
index e5c26c563..1efc58799 100644
--- a/mesalib/src/mesa/state_tracker/st_program.c
+++ b/mesalib/src/mesa/state_tracker/st_program.c
@@ -798,7 +798,7 @@ st_translate_geometry_program(struct st_context *st,
* mapping and the semantic information for each output.
*/
for (attr = 0; attr < GEOM_RESULT_MAX; attr++) {
- if (stgp->Base.Base.OutputsWritten & (1 << attr)) {
+ if (stgp->Base.Base.OutputsWritten & BITFIELD64_BIT(attr)) {
GLuint slot;
slot = gs_num_outputs;