From cf68d9f46da1cf20503a7d738da1f43de916004d Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 20 Oct 2018 16:18:11 +0800 Subject: =?UTF-8?q?*=E6=A0=BC=E5=BC=8F=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libjin/Graphics/je_color.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/libjin/Graphics/je_color.h') diff --git a/src/libjin/Graphics/je_color.h b/src/libjin/Graphics/je_color.h index 01484ff..a3c7582 100644 --- a/src/libjin/Graphics/je_color.h +++ b/src/libjin/Graphics/je_color.h @@ -4,7 +4,7 @@ #ifndef __JE_COLOR_H #define __JE_COLOR_H #include "../core/je_configuration.h" -#if LIBJIN_MODULES_RENDER +#if defined(jin_graphics) #include "../utils/je_endian.h" @@ -18,8 +18,8 @@ namespace JinEngine class Color { public: - /* Built-in Colors */ - static const Color WHITE; + // Built-in colors + static const Color WHITE; static const Color BLACK; static const Color RED; static const Color GREEN; @@ -81,5 +81,6 @@ namespace JinEngine } // namespace Graphics } // namespace JinEngine -#endif // LIBJIN_MODULES_RENDER +#endif // jin_graphics + #endif // __JE_COLOR_H \ No newline at end of file -- cgit v1.1-26-g67d0