Fix crash in GE debugger

Fixes #22027
This commit is contained in:
Henrik Rydgård committed 2026-08-07 23:49:30 +02:00
1 parent 8d2c1e7a66
commit 459f4473af
2 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -1011,7 +1011,7 @@ void TextureCacheVulkan::BoundFramebufferTexture() {
bool TextureCacheVulkan::GetCurrentTextureDebug(GPUDebugBuffer &buffer, int level, bool *isFramebuffer) {
// Apply texture may need to rebuild the texture if we're about to render, or bind a framebuffer.
TextureApplyResult textureResult = ApplyTexture(true);
TextureApplyResult textureResult = ApplyTexture(false);
if (textureResult.framebuffer) {
*isFramebuffer = true;
return GetFramebufferTextureDebug(textureResult.framebuffer, textureResult.framebufferTextureChannel, buffer);