diff options
author | chai <chaifix@163.com> | 2018-10-08 21:14:54 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-10-08 21:14:54 +0800 |
commit | 75fa36f51921376f13203bf49fee887f0474e414 (patch) | |
tree | e254b6daa49cab7600df06b6fec0cd354fbd4140 /src | |
parent | 1e9bdd854c89c32fa09016871d9693976fc9a08b (diff) |
*更新ogl2d
Diffstat (limited to 'src')
-rw-r--r-- | src/libjin/3rdparty/ogl/OpenGL.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/libjin/3rdparty/ogl/OpenGL.h b/src/libjin/3rdparty/ogl/OpenGL.h index 33b14d2..3984b49 100644 --- a/src/libjin/3rdparty/ogl/OpenGL.h +++ b/src/libjin/3rdparty/ogl/OpenGL.h @@ -45,15 +45,6 @@ namespace ogl2d void texImage(GLint internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels = NULL); void texSubImage(GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); void activeTexUnit(unsigned int unit = 0); - inline void vertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) - { - glVertexPointer(size, type, stride, pointer); - } - - inline void texCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) - { - glTexCoordPointer(size, type, stride, pointer); - } inline void drawArrays(GLenum mode, GLint first, GLsizei count) { |