summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-07-08 16:12:01 -0600
committerKeith Whitwell <keith@tungstengraphics.com>2008-09-21 22:13:56 -0700
commit6246dd890f356cc8beaab035018890e719e06227 (patch)
tree3a2f2b2a8df0c96f4ba7960e84dd127d3305db4a /src/mesa
parent48cba703fa6fdbe2ad34770d54aeafdd01493f27 (diff)
mesa: implement glGetUniformiv() with new ctx->Driver function
The old implementation could overwrite the caller's param buffer.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/shaders.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/shaders.c b/src/mesa/main/shaders.c
index f0db0d2a81..a2670fda32 100644
--- a/src/mesa/main/shaders.c
+++ b/src/mesa/main/shaders.c
@@ -128,6 +128,7 @@ _mesa_DeleteObjectARB(GLhandleARB obj)
void GLAPIENTRY
_mesa_DeleteProgram(GLuint name)
{
+ printf("%s name=%u\n", __FUNCTION__, name);
if (name) {
GET_CURRENT_CONTEXT(ctx);
ctx->Driver.DeleteProgram2(ctx, name);