mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-15 02:25:32 -04:00
remove stray code from Applet_Event
this is already in GLContext_InitSurface
This commit is contained in:
parent
3231cb7b06
commit
1ce265fe89
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user