GPU/SW: Set display parameters before data

This commit is contained in:
Connor McLaughlin
2021-05-14 03:36:25 +10:00
parent 3d972955a7
commit 437d3fbb4b
2 changed files with 9 additions and 9 deletions

View File

@ -44,8 +44,8 @@ protected:
void DispatchRenderCommand() override;
void FillBackendCommandParameters(GPUBackendCommand* cmd);
void FillDrawCommand(GPUBackendDrawCommand* cmd, GPURenderCommand rc);
void FillBackendCommandParameters(GPUBackendCommand* cmd) const;
void FillDrawCommand(GPUBackendDrawCommand* cmd, GPURenderCommand rc) const;
HeapArray<u8, GPU_MAX_DISPLAY_WIDTH * GPU_MAX_DISPLAY_HEIGHT * sizeof(u32)> m_display_texture_buffer;
HostDisplayPixelFormat m_16bit_display_format = HostDisplayPixelFormat::RGB565;