diff options
Diffstat (limited to 'Userland/Libraries/LibGL')
-rw-r--r-- | Userland/Libraries/LibGL/GL/gl.h | 1 | ||||
-rw-r--r-- | Userland/Libraries/LibGL/GLVert.cpp | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGL/GL/gl.h b/Userland/Libraries/LibGL/GL/gl.h index d31959da45..0f57196141 100644 --- a/Userland/Libraries/LibGL/GL/gl.h +++ b/Userland/Libraries/LibGL/GL/gl.h @@ -349,6 +349,7 @@ GLAPI void glReadBuffer(GLenum mode); GLAPI void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels); GLAPI void glTexImage2D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* data); GLAPI void glTexCoord2f(GLfloat s, GLfloat t); +GLAPI void glTexCoord4fv(const GLfloat* v); GLAPI void glTexParameteri(GLenum target, GLenum pname, GLint param); GLAPI void glTexParameterf(GLenum target, GLenum pname, GLfloat param); GLAPI void glBindTexture(GLenum target, GLuint texture); diff --git a/Userland/Libraries/LibGL/GLVert.cpp b/Userland/Libraries/LibGL/GLVert.cpp index 060b2b059a..81567e6132 100644 --- a/Userland/Libraries/LibGL/GLVert.cpp +++ b/Userland/Libraries/LibGL/GLVert.cpp @@ -145,6 +145,11 @@ void glTexCoord2f(GLfloat s, GLfloat t) g_gl_context->gl_tex_coord(s, t, 0.0f, 0.0f); } +void glTexCoord4fv(const GLfloat* v) +{ + g_gl_context->gl_tex_coord(v[0], v[1], v[2], v[3]); +} + void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) { g_gl_context->gl_rotate(angle, x, y, z); |