Shader decompiler: Fix redundant compilations

This commit is contained in:
wheremyfoodat 2024-07-25 23:36:22 +03:00
parent 69accdec54
commit efcb42af2c
2 changed files with 1 additions and 2 deletions

View file

@ -95,7 +95,6 @@ class RendererGL final : public Renderer {
for (auto& it : programCache) {
CachedProgram& cachedProgram = it.second;
cachedProgram.program.free();
glDeleteBuffers(1, &cachedProgram.uboBinding);
}
for (auto& it : vertexShaderCache) {