GPU: Add some missing state reset

This commit is contained in:
Connor McLaughlin
2019-10-04 20:33:37 +10:00
parent 4422fb0545
commit 4d22bec8fd
4 changed files with 18 additions and 1 deletions

View File

@ -8,6 +8,13 @@ GPU_HW::GPU_HW() = default;
GPU_HW::~GPU_HW() = default;
void GPU_HW::Reset()
{
GPU::Reset();
m_batch = {};
}
void GPU_HW::LoadVertices(RenderCommand rc, u32 num_vertices)
{
const u32 texpage =