diff options
author | chai <chaifix@163.com> | 2018-12-14 14:55:42 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-12-14 14:55:42 +0800 |
commit | 870fcdae66edc680cac55defb149e1434e865f37 (patch) | |
tree | bb0b45627b98ec4c782466b3bb57daf63c44e460 /src/libjin/graphics/shaders/je_shader.cpp | |
parent | eb8ca083c9be574acd27cf0de41d1f69146cad7a (diff) |
*格式化代码
Diffstat (limited to 'src/libjin/graphics/shaders/je_shader.cpp')
-rw-r--r-- | src/libjin/graphics/shaders/je_shader.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libjin/graphics/shaders/je_shader.cpp b/src/libjin/graphics/shaders/je_shader.cpp index 017231a..b7a4bba 100644 --- a/src/libjin/graphics/shaders/je_shader.cpp +++ b/src/libjin/graphics/shaders/je_shader.cpp @@ -16,8 +16,8 @@ using namespace JinEngine::Filesystem; namespace JinEngine { - namespace Graphics - { + namespace Graphics + { namespace Shaders { @@ -145,8 +145,8 @@ if (success == GL_FALSE) \ } #define checkJSL() \ - if (gl.getShader() != this) \ - return + if (gl.getShader() != this) \ + return void Shader::sendInt(const char* name, int value) { @@ -267,7 +267,7 @@ if (success == GL_FALSE) \ } } // namespace Shaders - } // namespace Graphics + } // namespace Graphics } // namespace JinEngine #endif // (jin_graphics) && (jin_graphics & jin_graphics_shader)
\ No newline at end of file |