From 3ce3b10167a98f45614408a8042a10c686f3a9cc Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 19 May 2018 09:40:17 +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/render/jsl.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/libjin/render/jsl.h') diff --git a/src/libjin/render/jsl.h b/src/libjin/render/jsl.h index aff7fea..35479d3 100644 --- a/src/libjin/render/jsl.h +++ b/src/libjin/render/jsl.h @@ -36,11 +36,11 @@ namespace render void sendFloat(const char* name, float number); void sendImage(const char* name, const Image* image); - void sendVec2(const char* name, float x, float y); - void sendVec3(const char* name, float x, float y, float z); - void sendVec4(const char* name, float x, float y, float z, float w); - void sendCanvas(const char* name, const Canvas* canvas); - void sendColor(const char* name, const color* col); + void sendVec2(const char* name, float x, float y); + void sendVec3(const char* name, float x, float y, float z); + void sendVec4(const char* name, float x, float y, float z, float w); + void sendCanvas(const char* name, const Canvas* canvas); + void sendColor(const char* name, const color* col); static inline JSLProgram* getCurrentJSL() { @@ -53,11 +53,11 @@ namespace render std::map texturePool; - static JSLProgram* currentJSLProgram; + static JSLProgram* currentJSLProgram; static GLint currentTextureUnit; - static GLint maxTextureUnits; + static GLint maxTextureUnits; - GLint getTextureUnit(const std::string& name); + GLint getTextureUnit(const std::string& name); inline void initialize(const char* program); inline void destroy(); -- cgit v1.1-26-g67d0