remove stray code from Applet_Event

this is already in GLContext_InitSurface
This commit is contained in:
headshot2017 2024-03-16 16:00:12 -04:00
parent 3231cb7b06
commit 1ce265fe89

View File

@ -50,14 +50,7 @@ static void Applet_Event(AppletHookType type, void* param) {
framebufferMakeLinear(&fb);
}
NWindow* win = (NWindow*)Window_Main.Handle;
int real_width = win->width; win->width = Window_Main.Width;
int real_height = win->height; win->height = Window_Main.Height;
Event_RaiseVoid(&WindowEvents.Resized);
win->width = real_width;
win->height = real_height;
}
}