remove more dead code
This commit is contained in:
parent
883d6681a8
commit
800c25b5fa
1 changed files with 1 additions and 10 deletions
|
@ -102,7 +102,6 @@ double FrameTicks; /// Frame length in ms
|
|||
|
||||
const EventCallback *Callbacks;
|
||||
|
||||
static bool RegenerateScreen = false;
|
||||
bool IsSDLWindowVisible = true;
|
||||
|
||||
/*----------------------------------------------------------------------------
|
||||
|
@ -315,7 +314,7 @@ void InitVideoSdl()
|
|||
flags |= SDL_WINDOW_RESIZABLE;
|
||||
}
|
||||
|
||||
if (true || !Video.Width || !Video.Height) {
|
||||
if (!Video.Width || !Video.Height) {
|
||||
Video.ViewportWidth = Video.Width;
|
||||
Video.ViewportHeight = Video.Height;
|
||||
Video.Width = 640;
|
||||
|
@ -594,14 +593,6 @@ static void SdlDoEvent(const EventCallback &callbacks, SDL_Event &event)
|
|||
}
|
||||
}
|
||||
|
||||
void ValidateOpenGLScreen()
|
||||
{
|
||||
if (RegenerateScreen) {
|
||||
Video.ResizeScreen(Video.Width, Video.Height);
|
||||
RegenerateScreen = false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
** Set the current callbacks
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue