VideoThread: Fix incorrect command size

But this has no effect since it's on the stack.
pull/3730/head
Stenzek 5 months ago
parent cc662e69b4
commit 2c1894709d
No known key found for this signature in database

@ -909,7 +909,7 @@ void VideoThread::ReconfigureOnThread(VideoThreadReconfigureCommand* cmd)
{
GPUBackendReadVRAMCommand read_cmd;
read_cmd.type = VideoThreadCommandType::ReadVRAM;
read_cmd.size = sizeof(cmd);
read_cmd.size = sizeof(read_cmd);
read_cmd.x = 0;
read_cmd.y = 0;
read_cmd.width = VRAM_WIDTH;

Loading…
Cancel
Save