From 75fa36f51921376f13203bf49fee887f0474e414 Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 8 Oct 2018 21:14:54 +0800 Subject: =?UTF-8?q?*=E6=9B=B4=E6=96=B0ogl2d?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libjin/3rdparty/ogl/OpenGL.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src') 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) { -- cgit v1.1-26-g67d0