mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:17:46 +00:00
LibGL: Implement glTexCoord4fv
This commit is contained in:
parent
f776402632
commit
b9261ade52
2 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue