some fixes for config handling + save searchpaths
git-svn-id: https://clonekeenplus.svn.sourceforge.net/svnroot/clonekeenplus/cgenius/trunk@155 4df4b0f3-56ce-47cb-b001-ed939b7d65a6
This commit is contained in:
@@ -275,15 +275,14 @@ bool CVideoDriver::applyMode(void)
|
||||
// And Display can be setup.
|
||||
screen = SDL_SetVideoMode(m_Resolution.width,m_Resolution.height,m_Resolution.depth,Mode);
|
||||
|
||||
m_Resolution.depth = screen->format->BitsPerPixel;
|
||||
|
||||
|
||||
if( !screen )
|
||||
{
|
||||
g_pLogFile->textOut(RED,"VidDrv_Start(): Couldn't create a SDL surface: %s<br>", SDL_GetError());
|
||||
return false;
|
||||
}
|
||||
|
||||
m_Resolution.depth = screen->format->BitsPerPixel;
|
||||
|
||||
if(!Fullscreen)
|
||||
SDL_ShowCursor(SDL_ENABLE);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user