mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 00:36:30 +02:00
removing comments not needed anymore
This commit is contained in:
parent
2be1e36c47
commit
f2f4ad28e8
1 changed files with 0 additions and 4 deletions
|
@ -644,8 +644,6 @@ void GLBackend::recycle() const {
|
||||||
ids.reserve(buffersTrash.size());
|
ids.reserve(buffersTrash.size());
|
||||||
for (auto pair : buffersTrash) {
|
for (auto pair : buffersTrash) {
|
||||||
ids.push_back(pair.first);
|
ids.push_back(pair.first);
|
||||||
// bufferCount.decrement();
|
|
||||||
// bufferGPUMemSize.update(pair.second, 0);
|
|
||||||
}
|
}
|
||||||
if (!ids.empty()) {
|
if (!ids.empty()) {
|
||||||
glDeleteBuffers((GLsizei)ids.size(), ids.data());
|
glDeleteBuffers((GLsizei)ids.size(), ids.data());
|
||||||
|
@ -678,8 +676,6 @@ void GLBackend::recycle() const {
|
||||||
ids.reserve(texturesTrash.size());
|
ids.reserve(texturesTrash.size());
|
||||||
for (auto pair : texturesTrash) {
|
for (auto pair : texturesTrash) {
|
||||||
ids.push_back(pair.first);
|
ids.push_back(pair.first);
|
||||||
// textureCount.decrement();
|
|
||||||
// textureGPUMemSize.update(pair.second, 0);
|
|
||||||
}
|
}
|
||||||
if (!ids.empty()) {
|
if (!ids.empty()) {
|
||||||
glDeleteTextures((GLsizei)ids.size(), ids.data());
|
glDeleteTextures((GLsizei)ids.size(), ids.data());
|
||||||
|
|
Loading…
Reference in a new issue