diff options
Diffstat (limited to 'src/libjin/render/jsl.h')
-rw-r--r-- | src/libjin/render/jsl.h | 16 |
1 files changed, 8 insertions, 8 deletions
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<std::string, GLint> 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(); |