diff options
| author | numzero <numzer0@yandex.ru> | 2023-02-22 21:38:32 +0300 |
|---|---|---|
| committer | sfan5 <sfan5@live.de> | 2023-03-01 09:06:23 +0100 |
| commit | d6be6682ec69706b765ab51863bcd5805a7cbd7d (patch) | |
| tree | d35aaf0ac12e74f4bac9a597fe524209ee2b14e4 /src/irrlicht_changes | |
| parent | 39f4d26177ec1c8f246133c532a42ef7429bc36d (diff) | |
| download | minetest-d6be6682ec69706b765ab51863bcd5805a7cbd7d.tar.xz | |
Drop dependency on IrrCompileConfig
The only remaining thing is IRRLICHT_SDK_VERSION via irrlicht.h
Diffstat (limited to 'src/irrlicht_changes')
| -rw-r--r-- | src/irrlicht_changes/static_text.cpp | 4 | ||||
| -rw-r--r-- | src/irrlicht_changes/static_text.h | 5 |
2 files changed, 0 insertions, 9 deletions
diff --git a/src/irrlicht_changes/static_text.cpp b/src/irrlicht_changes/static_text.cpp index 4dc452349..61f4da5e1 100644 --- a/src/irrlicht_changes/static_text.cpp +++ b/src/irrlicht_changes/static_text.cpp @@ -5,7 +5,6 @@ // For conditions of distribution and use, see copyright notice in irrlicht.h #include "static_text.h" -#ifdef _IRR_COMPILE_WITH_GUI_ #include <IGUIFont.h> #include <IVideoDriver.h> @@ -582,6 +581,3 @@ s32 StaticText::getTextWidth() const } // end namespace gui } // end namespace irr - - -#endif // _IRR_COMPILE_WITH_GUI_ diff --git a/src/irrlicht_changes/static_text.h b/src/irrlicht_changes/static_text.h index 93a2d8643..3608b271c 100644 --- a/src/irrlicht_changes/static_text.h +++ b/src/irrlicht_changes/static_text.h @@ -6,9 +6,6 @@ #pragma once -#include "IrrCompileConfig.h" -#ifdef _IRR_COMPILE_WITH_GUI_ - #include "IGUIStaticText.h" #include "irrArray.h" @@ -231,5 +228,3 @@ inline void setStaticText(irr::gui::IGUIStaticText *static_text, const wchar_t * { setStaticText(static_text, EnrichedString(text, static_text->getOverrideColor())); } - -#endif // _IRR_COMPILE_WITH_GUI_ |
