Fixed compilation with missing vidmode headers after some modifications in our CGUIEditBox.
This commit is contained in:
parent
f853255204
commit
e9f3fd4806
@ -46,12 +46,6 @@ if(USE_GLES2)
|
||||
add_definitions(-D_IRR_COMPILE_WITH_OGLES2_ -DNO_IRR_COMPILE_WITH_SOFTWARE_ -DNO_IRR_COMPILE_WITH_BURNINGSVIDEO_ -DNO_IRR_COMPILE_WITH_OGLES1_ -DNO_IRR_COMPILE_WITH_OPENGL_ -DNO_IRR_USE_NON_SYSTEM_JPEG_LIB_ -DNO_IRR_USE_NON_SYSTEM_LIB_PNG_ -DNO_IRR_USE_NON_SYSTEM_ZLIB_)
|
||||
endif()
|
||||
|
||||
# Xrandr
|
||||
if(UNIX AND NOT APPLE)
|
||||
add_definitions(-DNO_IRR_LINUX_X11_VIDMODE_)
|
||||
add_definitions(-D_IRR_LINUX_X11_RANDR_)
|
||||
endif()
|
||||
|
||||
if(CYGWIN)
|
||||
add_definitions(-DNO_IRR_COMPILE_WITH_JOYSTICK_EVENTS_)
|
||||
endif()
|
||||
|
@ -232,8 +232,8 @@ define out. */
|
||||
//! to remove the dependencies such that Irrlicht will compile on those systems, too.
|
||||
//! If you don't need colored cursors you can also disable the Xcursor extension
|
||||
#if defined(_IRR_LINUX_PLATFORM_) && defined(_IRR_COMPILE_WITH_X11_)
|
||||
#define _IRR_LINUX_X11_VIDMODE_
|
||||
//#define _IRR_LINUX_X11_RANDR_
|
||||
//#define _IRR_LINUX_X11_VIDMODE_
|
||||
#define _IRR_LINUX_X11_RANDR_
|
||||
#ifdef NO_IRR_LINUX_X11_VIDMODE_
|
||||
#undef _IRR_LINUX_X11_VIDMODE_
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user