mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 16:38:09 +02:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue