Fixed stupid fullscreen toggle error
This commit is contained in:
parent
66c945fb7d
commit
219ab378d7
1 changed files with 0 additions and 2 deletions
|
@ -108,7 +108,6 @@ int SetSoftVideoMode(int Width, int Height, int Depth)
|
||||||
|
|
||||||
if (isgrab == SDL_GRAB_ON) {
|
if (isgrab == SDL_GRAB_ON) {
|
||||||
SDL_WM_GrabInput(SDL_GRAB_ON);
|
SDL_WM_GrabInput(SDL_GRAB_ON);
|
||||||
SDL_WM_ToggleFullScreen(surface);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ScreenDescriptorBlock.SDB_Width = Width;
|
ScreenDescriptorBlock.SDB_Width = Width;
|
||||||
|
@ -174,7 +173,6 @@ int SetOGLVideoMode(int Width, int Height)
|
||||||
|
|
||||||
if (isgrab == SDL_GRAB_ON) {
|
if (isgrab == SDL_GRAB_ON) {
|
||||||
SDL_WM_GrabInput(SDL_GRAB_ON);
|
SDL_WM_GrabInput(SDL_GRAB_ON);
|
||||||
SDL_WM_ToggleFullScreen(surface);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
glViewport(0, 0, Width, Height);
|
glViewport(0, 0, Width, Height);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue