GPU/HW: Warning fix
This commit is contained in:
parent
d2f28b6926
commit
49b2e76dea
|
@ -2599,12 +2599,15 @@ void GPU_HW::UpdateSoftwareRenderer(bool copy_vram_from_hw)
|
|||
clip_cmd->new_area = m_drawing_area;
|
||||
sw_renderer->PushCommand(clip_cmd);
|
||||
|
||||
if (IsCLUTValid())
|
||||
{
|
||||
GPUBackendUpdateCLUTCommand* clut_cmd = sw_renderer->NewUpdateCLUTCommand();
|
||||
FillBackendCommandParameters(clut_cmd);
|
||||
clut_cmd->reg.bits = m_current_clut_reg_bits;
|
||||
clut_cmd->reg.bits = static_cast<u16>(m_current_clut_reg_bits);
|
||||
clut_cmd->clut_is_8bit = m_current_clut_is_8bit;
|
||||
sw_renderer->PushCommand(clut_cmd);
|
||||
}
|
||||
}
|
||||
|
||||
m_sw_renderer = std::move(sw_renderer);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue