GLES: Correct preview of mip levels > 0.

Don't need to force level 0 anymore.  Software can show levels hardware
refuses to load.  This is consistent with other backends.
This commit is contained in:
Unknown W. Brackets committed 2022-08-21 16:47:46 -07:00
1 parent afc9a14b37
commit 89a499b4d2
3 files changed
+4 -15

No files matched your search

+2
View File
@@ -777,6 +777,8 @@ bool TextureCacheVulkan::GetCurrentTextureDebug(GPUDebugBuffer &buffer, int leve
gstate_c.Dirty(DIRTY_VIEWPORTSCISSOR_STATE | DIRTY_BLEND_STATE | DIRTY_DEPTHSTENCIL_STATE);
// We may have blitted to a temp FBO.
framebufferManager_->RebindFramebuffer("RebindFramebuffer - GetCurrentTextureDebug");
if (!retval)
ERROR_LOG(G3D, "Failed to get debug texture: copy to memory failed");
return retval;
} else {
return false;