removing comments not needed anymore

This commit is contained in:
samcake 2017-05-23 14:16:42 -07:00
parent 2be1e36c47
commit f2f4ad28e8

View file

@ -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());