diff options
author | chai <chaifix@163.com> | 2018-10-21 16:21:16 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-10-21 16:21:16 +0800 |
commit | 07770f3ad369ff47386310b731d349f7af1fe0d9 (patch) | |
tree | 7547b1a8b2beaceb31ea1b62edbdaa5cd6a1b247 /src/libjin/Graphics/Shader/je_shader.cpp | |
parent | 066e5987c515dfc34537d73ca9d2a81ddd1f9e1b (diff) |
*修改编译控制
Diffstat (limited to 'src/libjin/Graphics/Shader/je_shader.cpp')
-rw-r--r-- | src/libjin/Graphics/Shader/je_shader.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libjin/Graphics/Shader/je_shader.cpp b/src/libjin/Graphics/Shader/je_shader.cpp index 6066864..6c8076a 100644 --- a/src/libjin/Graphics/Shader/je_shader.cpp +++ b/src/libjin/Graphics/Shader/je_shader.cpp @@ -1,6 +1,5 @@ -#include <regex> #include "../../core/je_configuration.h" -#if defined(jin_graphics_shader) +#if defined(jin_graphics) && (jin_graphics & jin_graphics_shader) #include <iostream> @@ -285,4 +284,4 @@ namespace JinEngine } // namespace Graphics } // namespace JinEngine -#endif // jin_graphics_shader
\ No newline at end of file +#endif // (jin_graphics) && (jin_graphics & jin_graphics_shader)
\ No newline at end of file |