fixed typo

This commit is contained in:
oy 2015-10-23 18:58:22 +02:00
parent b81e295350
commit e442a023f9

View file

@ -791,7 +791,7 @@ void CGraphicsBackend_SDL_OpenGL::Maximize()
bool CGraphicsBackend_SDL_OpenGL::Fullscreen(bool State) bool CGraphicsBackend_SDL_OpenGL::Fullscreen(bool State)
{ {
#if defined(CONF_PLATFORM_MACOSX) // Todo: remove this when fixed in SDL #if defined(CONF_PLATFORM_MACOSX) // Todo: remove this when fixed in SDL
return SDL_SetWindowFullscreen(m_pWindow, State ? SDL_WINDOW_FULLSCREEN_Desktop : 0) == 0; return SDL_SetWindowFullscreen(m_pWindow, State ? SDL_WINDOW_FULLSCREEN_DESKTOP : 0) == 0;
#else #else
return SDL_SetWindowFullscreen(m_pWindow, State ? SDL_WINDOW_FULLSCREEN : 0) == 0; return SDL_SetWindowFullscreen(m_pWindow, State ? SDL_WINDOW_FULLSCREEN : 0) == 0;
#endif #endif