mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 14:47:19 +02:00
Properly destroy GL programs
This commit is contained in:
parent
7ffa212006
commit
95b5a23c7a
1 changed files with 1 additions and 1 deletions
|
@ -582,7 +582,7 @@ void GLBackend::releaseShader(GLuint id) const {
|
|||
|
||||
void GLBackend::releaseProgram(GLuint id) const {
|
||||
Lock lock(_trashMutex);
|
||||
_shadersTrash.push_back(id);
|
||||
_programsTrash.push_back(id);
|
||||
}
|
||||
|
||||
void GLBackend::releaseQuery(GLuint id) const {
|
||||
|
|
Loading…
Reference in a new issue