mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:17:35 +00:00
LibGL: Implement glTexCoord2i
This commit is contained in:
parent
17ec433326
commit
260663567a
2 changed files with 6 additions and 0 deletions
|
@ -540,6 +540,7 @@ GLAPI void glTexCoord2d(GLdouble s, GLdouble t);
|
|||
GLAPI void glTexCoord2dv(GLdouble const* v);
|
||||
GLAPI void glTexCoord2f(GLfloat s, GLfloat t);
|
||||
GLAPI void glTexCoord2fv(GLfloat const* v);
|
||||
GLAPI void glTexCoord2i(GLint s, GLint 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);
|
||||
|
|
|
@ -160,6 +160,11 @@ void glTexCoord2fv(GLfloat const* v)
|
|||
g_gl_context->gl_tex_coord(v[0], v[1], 0.0f, 0.0f);
|
||||
}
|
||||
|
||||
void glTexCoord2i(GLint s, GLint t)
|
||||
{
|
||||
g_gl_context->gl_tex_coord(s, t, 0.0f, 1.0f);
|
||||
}
|
||||
|
||||
void glTexCoord4fv(const GLfloat* v)
|
||||
{
|
||||
g_gl_context->gl_tex_coord(v[0], v[1], v[2], v[3]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue