fix compile error with renderer

This commit is contained in:
jacob1 2016-03-31 22:38:28 -04:00
parent 5832e27459
commit 0fbb3bb27f

View File

@ -92,11 +92,13 @@ OptionsView * OptionsController::GetView()
return view;
}
#ifdef USE_SDL
#ifdef SDL_INC
#include "SDL/SDL.h"
#else
#include "SDL.h"
#endif
#endif
void OptionsController::Exit()
{
if (ui::Engine::Ref().GetWindow() == view)
@ -104,10 +106,12 @@ void OptionsController::Exit()
ui::Engine::Ref().CloseWindow();
}
depth3d = temp_3ddepth;
#ifdef USE_SDL
if (depth3d)
SDL_ShowCursor(0);
else
SDL_ShowCursor(1);
#endif
if (callback)
callback->ControllerExit();
HasExited = true;