mirror of
https://github.com/lubosz/overte.git
synced 2025-08-08 04:08:13 +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 {
|
void GLBackend::releaseProgram(GLuint id) const {
|
||||||
Lock lock(_trashMutex);
|
Lock lock(_trashMutex);
|
||||||
_shadersTrash.push_back(id);
|
_programsTrash.push_back(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GLBackend::releaseQuery(GLuint id) const {
|
void GLBackend::releaseQuery(GLuint id) const {
|
||||||
|
|
Loading…
Reference in a new issue