From f2f4ad28e80efc8953352c952d706d0a6d909701 Mon Sep 17 00:00:00 2001 From: samcake Date: Tue, 23 May 2017 14:16:42 -0700 Subject: [PATCH] removing comments not needed anymore --- libraries/gpu-gl/src/gpu/gl/GLBackend.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libraries/gpu-gl/src/gpu/gl/GLBackend.cpp b/libraries/gpu-gl/src/gpu/gl/GLBackend.cpp index 0d7c1f2ca1..ed81b502fc 100644 --- a/libraries/gpu-gl/src/gpu/gl/GLBackend.cpp +++ b/libraries/gpu-gl/src/gpu/gl/GLBackend.cpp @@ -644,8 +644,6 @@ void GLBackend::recycle() const { ids.reserve(buffersTrash.size()); for (auto pair : buffersTrash) { ids.push_back(pair.first); - // bufferCount.decrement(); - // bufferGPUMemSize.update(pair.second, 0); } if (!ids.empty()) { glDeleteBuffers((GLsizei)ids.size(), ids.data()); @@ -678,8 +676,6 @@ void GLBackend::recycle() const { ids.reserve(texturesTrash.size()); for (auto pair : texturesTrash) { ids.push_back(pair.first); - // textureCount.decrement(); - // textureGPUMemSize.update(pair.second, 0); } if (!ids.empty()) { glDeleteTextures((GLsizei)ids.size(), ids.data());