diff options
author | marha <marha@users.sourceforge.net> | 2011-09-15 15:01:30 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-09-15 15:01:30 +0200 |
commit | 4420369d700d9db1563f8647e1889c6a0972ea2c (patch) | |
tree | 91e4c4e8503de8472048662e1e0b2ac7caa82e09 /mesalib/src/mesa/drivers/common | |
parent | e066f54c99aecce620158fe7f31589242df55677 (diff) | |
download | vcxsrv-4420369d700d9db1563f8647e1889c6a0972ea2c.tar.gz vcxsrv-4420369d700d9db1563f8647e1889c6a0972ea2c.tar.bz2 vcxsrv-4420369d700d9db1563f8647e1889c6a0972ea2c.zip |
libxtrans libXmu libXext mesa pixman git update 15 sept 2011
Diffstat (limited to 'mesalib/src/mesa/drivers/common')
-rw-r--r-- | mesalib/src/mesa/drivers/common/meta.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mesalib/src/mesa/drivers/common/meta.c b/mesalib/src/mesa/drivers/common/meta.c index 2ebcd35bd..482bd98a2 100644 --- a/mesalib/src/mesa/drivers/common/meta.c +++ b/mesalib/src/mesa/drivers/common/meta.c @@ -1569,10 +1569,10 @@ _mesa_meta_Clear(struct gl_context *ctx, GLbitfield buffers) /* vertex colors */ for (i = 0; i < 4; i++) { - verts[i].r = ctx->Color.ClearColorUnclamped[0]; - verts[i].g = ctx->Color.ClearColorUnclamped[1]; - verts[i].b = ctx->Color.ClearColorUnclamped[2]; - verts[i].a = ctx->Color.ClearColorUnclamped[3]; + verts[i].r = ctx->Color.ClearColor.f[0]; + verts[i].g = ctx->Color.ClearColor.f[1]; + verts[i].b = ctx->Color.ClearColor.f[2]; + verts[i].a = ctx->Color.ClearColor.f[3]; } /* upload new vertex data */ @@ -1679,7 +1679,7 @@ _mesa_meta_glsl_Clear(struct gl_context *ctx, GLbitfield buffers) _mesa_UseProgramObjectARB(clear->ShaderProg); _mesa_Uniform4fvARB(clear->ColorLocation, 1, - ctx->Color.ClearColorUnclamped); + ctx->Color.ClearColor.f); _mesa_BindVertexArray(clear->ArrayObj); _mesa_BindBufferARB(GL_ARRAY_BUFFER_ARB, clear->VBO); |