summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/shader_api.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-01-10 12:18:50 -0700
committerBrian <[email protected]>2007-01-10 12:18:50 -0700
commit8a48f3557424cfa67269ae5e4dca100ae2a0ddda (patch)
tree5d42549eb3f2dcbd581d04410a00529d7172e0f4 /src/mesa/shader/shader_api.c
parentee11842bfcdb928be269848835c5eb88b6d967ee (diff)
assorted code clean-ups
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 101c6f1e7e3..69314b225a4 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];