aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-10-08 21:14:54 +0800
committerchai <chaifix@163.com>2018-10-08 21:14:54 +0800
commit75fa36f51921376f13203bf49fee887f0474e414 (patch)
treee254b6daa49cab7600df06b6fec0cd354fbd4140
parent1e9bdd854c89c32fa09016871d9693976fc9a08b (diff)
*更新ogl2d
-rw-r--r--src/libjin/3rdparty/ogl/OpenGL.h9
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)
{