If you're having trouble with being left in fullscreen, check to make sure
SDL is resetting the video mode correctly.
This commit is contained in:
@@ -563,6 +563,16 @@ int main(int argc, char* argv[])
|
|||||||
catch( RageException e )
|
catch( RageException e )
|
||||||
{
|
{
|
||||||
g_sErrorString = e.what();
|
g_sErrorString = e.what();
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Don't do this. We delete DISPLAY before opening the error dialog, which resets us
|
||||||
|
* back to a normal windowed state.
|
||||||
|
*
|
||||||
|
* PREFSMAN, DISPLAY, TEXTUREMAN, SCREENMAN or INPUTMAN might not exist,
|
||||||
|
* or might not be in a reasonable state to call ApplyGraphicOptions. We
|
||||||
|
* must not clear the error string, or we'll simply disappear with no explanation.
|
||||||
|
*/
|
||||||
|
#if 0
|
||||||
if (!PREFSMAN->m_bWindowed)
|
if (!PREFSMAN->m_bWindowed)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
@@ -577,6 +587,7 @@ int main(int argc, char* argv[])
|
|||||||
g_sErrorString = "";
|
g_sErrorString = "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user