Skip to content

Commit 37626e3

Browse files
committed
Deleted all NO_NBL_COMPILE_WITH macros
1 parent 3971ae0 commit 37626e3

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

include/irr/system/compile_config.h

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
# define _NBL_COMPILE_WITH_X11_DEVICE_
1010
#endif
1111

12-
#ifdef _NBL_SERVER_
13-
# define NO_NBL_LINUX_X11_RANDR_
14-
#endif
15-
1612
//! VidMode is ANCIENT
1713
//#define NO_NBL_LINUX_X11_VIDMODE_
1814

@@ -22,12 +18,6 @@
2218
#if defined(_NBL_PLATFORM_LINUX_) && defined(_NBL_COMPILE_WITH_X11_)
2319
# define _NBL_LINUX_X11_VIDMODE_
2420
# define _NBL_LINUX_X11_RANDR_
25-
# ifdef NO_NBL_LINUX_X11_VIDMODE_
26-
# undef _NBL_LINUX_X11_VIDMODE_
27-
# endif
28-
# ifdef NO_NBL_LINUX_X11_RANDR_
29-
# undef _NBL_LINUX_X11_RANDR_
30-
# endif
3121
#endif
3222

3323
//! Define _NBL_COMPILE_WITH_X11_ to compile the Irrlicht engine with X11 support.
@@ -37,8 +27,5 @@ define out. */
3727
///#ifndef _NBL_SERVER_
3828
#define _NBL_COMPILE_WITH_X11_
3929
///#endif
40-
#ifdef NO_NBL_COMPILE_WITH_X11_
41-
# undef _NBL_COMPILE_WITH_X11_
42-
#endif
4330

4431
#endif

include/irr/video/compile_config.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,4 @@
55
#ifndef __NBL_VIDEO_COMPILE_CONFIG_H_INCLUDED__
66
#define __NBL_VIDEO_COMPILE_CONFIG_H_INCLUDED__
77

8-
#if defined(_NBL_SERVER_)
9-
# define NO_NBL_COMPILE_WITH_VULKAN_
10-
# define NO_NBL_COMPILE_WITH_OPENGL_
11-
#endif
12-
13-
#ifdef NO_NBL_COMPILE_WITH_OPENGL_
14-
# undef _NBL_COMPILE_WITH_OPENGL_
15-
#endif
16-
178
#endif

0 commit comments

Comments
 (0)