From: Brian Paul Date: Tue, 8 Jul 2008 22:12:01 +0000 (-0600) Subject: mesa: implement glGetUniformiv() with new ctx->Driver function X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6246dd890f356cc8beaab035018890e719e06227;p=mesa.git mesa: implement glGetUniformiv() with new ctx->Driver function The old implementation could overwrite the caller's param buffer. --- 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);