aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/graphics/je_gl.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-01-08 23:51:24 +0800
committerchai <chaifix@163.com>2019-01-08 23:51:24 +0800
commite7800a488a97f3172029aba82e6912ad50f7ae32 (patch)
tree7cad16c52e1ab2501fa57ed8a0e20226d09b1dd2 /src/libjin/graphics/je_gl.h
parente723aeaa9bb30658cd5f5b1e911e6487be70c69b (diff)
*opengl backend
Diffstat (limited to 'src/libjin/graphics/je_gl.h')
-rw-r--r--src/libjin/graphics/je_gl.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libjin/graphics/je_gl.h b/src/libjin/graphics/je_gl.h
index 8711824..090003c 100644
--- a/src/libjin/graphics/je_gl.h
+++ b/src/libjin/graphics/je_gl.h
@@ -73,9 +73,7 @@ namespace JinEngine
void deleteTexture(GLuint texture);
- void bindTexture(GLuint texture = 0);
-
- GLuint curTexture();
+ void bindTexture2D(GLuint texture = 0);
void setTexParameter(GLenum pname, GLint param);
@@ -83,7 +81,7 @@ namespace JinEngine
void texSubImage(GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
- void activeTexUnit(unsigned int unit = 0);
+ void activeTextureUnit(unsigned int unit = 0);
void drawArrays(GLenum mode, GLint first, GLsizei count);