mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 18:53:58 +01:00
D3D11: Enable pixel depth rounding. GL: Fix a crash bug
This commit is contained in:
1 parent
c355947bca
commit
8eb668ea59
14 files changed
+68
-33
No files matched your search
@@ -69,9 +69,10 @@ void TextureCacheGLES::SetFramebufferManager(FramebufferManagerGLES *fbManager)
|
||||
framebufferManager_ = fbManager;
|
||||
}
|
||||
|
||||
void TextureCacheGLES::ReleaseTexture(TexCacheEntry *entry) {
|
||||
void TextureCacheGLES::ReleaseTexture(TexCacheEntry *entry, bool delete_them) {
|
||||
DEBUG_LOG(G3D, "Deleting texture %i", entry->textureName);
|
||||
glDeleteTextures(1, &entry->textureName);
|
||||
if (delete_them)
|
||||
glDeleteTextures(1, &entry->textureName);
|
||||
entry->textureName = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user