mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
progs/demos: Fix memory leak in projtex.c.
(cherry picked from commit ee555e3d69)
This commit is contained in:
parent
fc5f07de1a
commit
5820dae4ec
1 changed files with 3 additions and 0 deletions
|
|
@ -245,6 +245,9 @@ loadImageTextures(void)
|
|||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
|
||||
}
|
||||
glTexParameterfv(GL_TEXTURE_2D, GL_TEXTURE_BORDER_COLOR, borderColor);
|
||||
|
||||
free(texData3);
|
||||
free(texData4);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue