Fix compiling SDL without emscripten.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@5513 dfc29bdd-3216-0410-991c-e03cc46cb475
master
cutealien 2017-08-07 14:18:16 +00:00
parent 32cef51975
commit 237111814f
1 changed files with 2 additions and 2 deletions

View File

@ -864,7 +864,7 @@ video::IVideoModeList* CIrrDeviceSDL::getVideoModeList()
#ifdef _IRR_EMSCRIPTEN_PLATFORM_
os::Printer::log("VideoModeList not available on the web." , ELL_WARNING);
return VideoModeList;
#elif // !_IRR_EMSCRIPTEN_PLATFORM_
#else // !_IRR_EMSCRIPTEN_PLATFORM_
if (!VideoModeList->getVideoModeCount())
{
// enumerate video modes.
@ -893,7 +893,7 @@ void CIrrDeviceSDL::setResizable(bool resize)
#ifdef _IRR_EMSCRIPTEN_PLATFORM_
os::Printer::log("Resizable not available on the web." , ELL_WARNING);
return;
#elif // !_IRR_EMSCRIPTEN_PLATFORM_
#else // !_IRR_EMSCRIPTEN_PLATFORM_
if (resize != Resizable)
{
if (resize)