mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-17 19:45:23 -04:00
Attempt to fix fullscreen problems on OSX
This commit is contained in:
parent
599656db25
commit
3683f90b21
@ -1342,8 +1342,11 @@ void Gfx_EndFrame(void) {
|
||||
}
|
||||
|
||||
void Gfx_OnWindowResize(void) {
|
||||
glViewport(0, 0, Game.Width, Game.Height);
|
||||
GLContext_Update();
|
||||
/* In case GLContext_Update changes window bounds */
|
||||
/* TODO: Eliminate this nasty hack.. */
|
||||
Game_UpdateDimensions();
|
||||
glViewport(0, 0, Game.Width, Game.Height);
|
||||
}
|
||||
|
||||
/*########################################################################################################################*
|
||||
|
Loading…
x
Reference in New Issue
Block a user