diff options
author | Brian Paul <[email protected]> | 2008-07-08 16:12:01 -0600 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-09-21 22:13:56 -0700 |
commit | 6246dd890f356cc8beaab035018890e719e06227 (patch) | |
tree | 3a2f2b2a8df0c96f4ba7960e84dd127d3305db4a /src/mesa/main/shaders.c | |
parent | 48cba703fa6fdbe2ad34770d54aeafdd01493f27 (diff) |
mesa: implement glGetUniformiv() with new ctx->Driver function
The old implementation could overwrite the caller's param buffer.
Diffstat (limited to 'src/mesa/main/shaders.c')
-rw-r--r-- | src/mesa/main/shaders.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/shaders.c b/src/mesa/main/shaders.c index f0db0d2a818..a2670fda32a 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); |