summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-11-12 18:44:29 +0000
committerBrian Paul <[email protected]>2005-11-12 18:44:29 +0000
commitba3da6154c324cc916845bc5de3de077d0b59ffc (patch)
tree45554c510334b1cff6133c5698487fe1a437a05f /src/mesa/main/context.c
parente3636b4114327411a3ff7590a61a652d10c18a34 (diff)
Added OSMesaColorClamp(), bug 4917
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 698dbd33bfb..b25300a0b0e 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1090,12 +1090,6 @@ init_attrib_groups( GLcontext *ctx )
ctx->NewState = _NEW_ALL;
ctx->ErrorValue = (GLenum) GL_NO_ERROR;
ctx->_Facing = 0;
-#if CHAN_TYPE == GL_FLOAT
- ctx->ClampFragmentColors = GL_FALSE; /* XXX temporary */
-#else
- ctx->ClampFragmentColors = GL_TRUE;
-#endif
- ctx->ClampVertexColors = GL_TRUE;
return GL_TRUE;
}