From 95b5a23c7abaf56464262a868a4381e06b3338fa Mon Sep 17 00:00:00 2001 From: Brad Davis Date: Fri, 26 Aug 2016 19:04:46 -0700 Subject: [PATCH] Properly destroy GL programs --- libraries/gpu-gl/src/gpu/gl/GLBackend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/gpu-gl/src/gpu/gl/GLBackend.cpp b/libraries/gpu-gl/src/gpu/gl/GLBackend.cpp index a37ac37adb..7c369f4124 100644 --- a/libraries/gpu-gl/src/gpu/gl/GLBackend.cpp +++ b/libraries/gpu-gl/src/gpu/gl/GLBackend.cpp @@ -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 {