mesa: implement glGetUniformiv() with new ctx->Driver function
The old implementation could overwrite the caller's param buffer.
This commit is contained in:
parent
48cba703fa
commit
6246dd890f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue