From 7254d48835b423301f90ebef9f9143c44d5356fa Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 6 Oct 2019 00:37:53 +1000 Subject: [PATCH] GPU: Pull page attributes from GPUSTAT if texturing is not enabled --- src/core/gpu_hw.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/gpu_hw.cpp b/src/core/gpu_hw.cpp index 33d577bc7..14593adbb 100644 --- a/src/core/gpu_hw.cpp +++ b/src/core/gpu_hw.cpp @@ -495,6 +495,10 @@ void GPU_HW::DispatchRenderCommand(RenderCommand rc, u32 num_vertices) break; } } + else + { + m_render_state.SetFromPageAttribute(Truncate16(m_GPUSTAT.bits)); + } // has any state changed which requires a new batch? const bool rc_transparency_enable = rc.IsTransparencyEnabled();