projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e441427
)
init SecondaryRasterColor
author
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 2 Nov 2006 22:54:18 +0000
(22:54 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 2 Nov 2006 22:54:18 +0000
(22:54 +0000)
src/mesa/main/rastpos.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/rastpos.c
b/src/mesa/main/rastpos.c
index 4f490db724fffefa872e65272e8bc34642618ba0..ddf2ac51d3bb2a0859c0e63961426db165eaa95a 100644
(file)
--- a/
src/mesa/main/rastpos.c
+++ b/
src/mesa/main/rastpos.c
@@
-994,6
+994,7
@@
void _mesa_init_rastpos( GLcontext * ctx )
ASSIGN_4V( ctx->Current.RasterPos, 0.0, 0.0, 0.0, 1.0 );
ctx->Current.RasterDistance = 0.0;
ASSIGN_4V( ctx->Current.RasterColor, 1.0, 1.0, 1.0, 1.0 );
+ ASSIGN_4V( ctx->Current.RasterSecondaryColor, 0.0, 0.0, 0.0, 1.0 );
ctx->Current.RasterIndex = 1.0;
for (i=0; i<MAX_TEXTURE_UNITS; i++)
ASSIGN_4V( ctx->Current.RasterTexCoords[i], 0.0, 0.0, 0.0, 1.0 );