mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-25 23:25:40 +00:00
Make sure to invalidate texture memory when going fullscreen otherwise it might not be syned correctly.
This commit is contained in:
parent
11c01a349f
commit
69a458ecf7
|
@ -1280,6 +1280,8 @@ int Supermodel(const Game &game, ROMSet *rom_set, IEmulator *Model3, CInputs *In
|
|||
goto QuitError;
|
||||
Model3->AttachRenderers(Render2D,Render3D);
|
||||
|
||||
Render3D->UploadTextures(0, 0, 0, 2048, 2048); // sync texture memory
|
||||
|
||||
Inputs->GetInputSystem()->SetMouseVisibility(!s_runtime_config["FullScreen"].ValueAs<bool>());
|
||||
}
|
||||
else if (Inputs->uiSaveState->Pressed())
|
||||
|
|
Loading…
Reference in a new issue