summaryrefslogtreecommitdiff
path: root/src/mesa/shader/shader_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/shader/shader_api.c')
-rw-r--r--src/mesa/shader/shader_api.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/shader/shader_api.c b/src/mesa/shader/shader_api.c
index 101c6f1e7e..69314b225a 100644
--- a/src/mesa/shader/shader_api.c
+++ b/src/mesa/shader/shader_api.c
@@ -849,7 +849,6 @@ _mesa_use_program(GLcontext *ctx, GLuint program)
ctx->Shader.CurrentProgram = NULL;
}
- /* XXXX need to handle reference counting here! */
if (program) {
struct gl_shader_program *shProg;
shProg = _mesa_lookup_shader_program(ctx, program);
@@ -916,7 +915,7 @@ _mesa_uniform(GLcontext *ctx, GLint location, GLsizei count,
}
}
else {
- const GLfloat *fValues = (const GLfloat *) values; /* XXX */
+ const GLfloat *fValues = (const GLfloat *) values;
switch (type) {
case GL_FLOAT_VEC4:
uniformVal[3] = fValues[3];