D3D11: Enable pixel depth rounding. GL: Fix a crash bug

This commit is contained in:
Henrik Rydgard committed 2017-02-23 20:40:53 +01:00
1 parent c355947bca
commit 8eb668ea59
14 files changed
+68 -33

No files matched your search

+1 -1
View File
@@ -179,7 +179,7 @@ void TextureCacheVulkan::DeviceRestore(VulkanContext *vulkan) {
samplerCache_.DeviceRestore(vulkan);
}
void TextureCacheVulkan::ReleaseTexture(TexCacheEntry *entry) {
void TextureCacheVulkan::ReleaseTexture(TexCacheEntry *entry, bool delete_them) {
DEBUG_LOG(G3D, "Deleting texture %p", entry->vkTex);
delete entry->vkTex;
entry->vkTex = nullptr;