GPU/HW: Ensure texture window bits are initialized

Fixes broken rendering after loading state or switching renderer in some
games, e.g. GTA2.
This commit is contained in:
Stenzek 2025-01-12 00:03:16 +10:00
parent 9c35b0e76d
commit 9779cee934
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ private:
u32 bits = INVALID_DRAW_MODE_BITS;
} m_draw_mode = {};
GPUTextureWindow m_texture_window_bits;
GPUTextureWindow m_texture_window_bits = {};
std::unique_ptr<GPUPipeline> m_wireframe_pipeline;