From 07770f3ad369ff47386310b731d349f7af1fe0d9 Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 21 Oct 2018 16:21:16 +0800 Subject: =?UTF-8?q?*=E4=BF=AE=E6=94=B9=E7=BC=96=E8=AF=91=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libjin/Graphics/Shader/je_jsl_compiler.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/libjin/Graphics/Shader/je_jsl_compiler.h') diff --git a/src/libjin/Graphics/Shader/je_jsl_compiler.h b/src/libjin/Graphics/Shader/je_jsl_compiler.h index b530466..1817a7b 100644 --- a/src/libjin/Graphics/Shader/je_jsl_compiler.h +++ b/src/libjin/Graphics/Shader/je_jsl_compiler.h @@ -1,6 +1,9 @@ #ifndef __JE_JSL_COMPILER_H #define __JE_JSL_COMPILER_H +#include "../../core/je_configuration.h" +#if defined(jin_graphics) && (jin_graphics & jin_graphics_shader) + #include "../../common/je_singleton.hpp" namespace JinEngine @@ -21,7 +24,9 @@ namespace JinEngine }; - } -} + } // namespace Graphics +} // namespace JinEngine + +#endif // (jin_graphics) && (jin_graphics & jin_graphics_shader) -#endif \ No newline at end of file +#endif // __JE_JSL_COMPILER_H \ No newline at end of file -- cgit v1.1-26-g67d0