Fix compilation with SDL device enabled and Windows device disabled.

Thanks @kas1e for reporting (http://irrlicht.sourceforge.net/forum/viewtopic.php?f=7&t=52083&p=304892#p304892)
Also did change some indention for readability.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5861 dfc29bdd-3216-0410-991c-e03cc46cb475
master
cutealien 2019-08-30 15:16:17 +00:00
parent ea7efdde45
commit 0096ba7c7d
1 changed files with 15 additions and 11 deletions

View File

@ -185,9 +185,13 @@ define out. */
#define _IRR_COMPILE_WITH_NSOGL_MANAGER_
#elif defined(_IRR_SOLARIS_PLATFORM_)
#define _IRR_COMPILE_WITH_GLX_MANAGER_
#elif defined(_IRR_COMPILE_WITH_SDL_DEVICE_)
#define _IRR_OPENGL_USE_EXTPOINTER_
#endif
#endif
//! Define _IRR_COMPILE_WITH_SOFTWARE_ to compile the Irrlicht engine with software driver
/** If you do not need the software driver, or want to use Burning's Video instead,
comment this define out */