From cfa5376effded42351975103a5d187e4946a2392 Mon Sep 17 00:00:00 2001 From: Brad Davis Date: Wed, 21 Sep 2016 07:25:44 -0700 Subject: [PATCH] Straight up bug --- libraries/gpu-gl/src/gpu/gl/GLBackendPipeline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/gpu-gl/src/gpu/gl/GLBackendPipeline.cpp b/libraries/gpu-gl/src/gpu/gl/GLBackendPipeline.cpp index 906144e013..f18962976c 100644 --- a/libraries/gpu-gl/src/gpu/gl/GLBackendPipeline.cpp +++ b/libraries/gpu-gl/src/gpu/gl/GLBackendPipeline.cpp @@ -165,7 +165,7 @@ void GLBackend::do_setUniformBuffer(const Batch& batch, size_t paramOffset) { _uniform._buffers[slot] = uniformBuffer; (void) CHECK_GL_ERROR(); } else { - releaseResourceTexture(slot); + releaseUniformBuffer(slot); return; } }