aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/graphics/je_gl.h
diff options
context:
space:
mode:
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);