Fix some screens appearing messed up initially when graphics context is recreated

Note that this would automatically correct itself anyways when mouse was moved/clicked
This commit is contained in:
UnknownShadow200 2020-11-17 00:51:56 +11:00
parent a95c17ab4e
commit c8e6fb0b56

View File

@ -111,6 +111,7 @@ static void OnContextRecreated(void* obj) {
for (i = 0; i < Gui.ScreensCount; i++) {
s = Gui_Screens[i];
s->VTABLE->ContextRecreated(s);
s->dirty = true;
}
}