projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48cba70
)
mesa: implement glGetUniformiv() with new ctx->Driver function
author
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 8 Jul 2008 22:12:01 +0000
(16:12 -0600)
committer
Keith Whitwell
<keith@tungstengraphics.com>
Mon, 22 Sep 2008 05:13:56 +0000
(22:13 -0700)
The old implementation could overwrite the caller's param buffer.
src/mesa/main/shaders.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/shaders.c
b/src/mesa/main/shaders.c
index f0db0d2a81833c886b81c189637646241c68cc37..a2670fda32a586c32f79a9e1dfd9c377c4e72aea 100644
(file)
--- 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);