mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:27:42 +00:00
LibGL: Implement all glMultiTexCoord*f
API methods
This commit is contained in:
parent
eda1ffba73
commit
62846b4691
2 changed files with 18 additions and 0 deletions
|
@ -631,6 +631,11 @@ void glMatrixMode(GLenum mode)
|
|||
g_gl_context->gl_matrix_mode(mode);
|
||||
}
|
||||
|
||||
void glMultiTexCoord1f(GLenum target, GLfloat s)
|
||||
{
|
||||
g_gl_context->gl_multi_tex_coord(target, s, 0.f, 0.f, 1.f);
|
||||
}
|
||||
|
||||
void glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t)
|
||||
{
|
||||
glMultiTexCoord2f(target, s, t);
|
||||
|
@ -651,6 +656,16 @@ void glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t)
|
|||
g_gl_context->gl_multi_tex_coord(target, s, t, 0.f, 1.f);
|
||||
}
|
||||
|
||||
void glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r)
|
||||
{
|
||||
g_gl_context->gl_multi_tex_coord(target, s, t, r, 1.f);
|
||||
}
|
||||
|
||||
void glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q)
|
||||
{
|
||||
g_gl_context->gl_multi_tex_coord(target, s, t, r, q);
|
||||
}
|
||||
|
||||
void glMultMatrixd(GLdouble const* matrix)
|
||||
{
|
||||
g_gl_context->gl_mult_matrix(transpose_input_matrix<double, float>(matrix));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue