mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 21:37:58 +03:00
LibGL: Implement glMultiTexCoord2fv(ARB)?
APIs
This commit is contained in:
parent
789d871892
commit
72b4f95f71
Notes:
sideshowbarker
2024-07-17 07:16:00 +09:00
Author: https://github.com/gmta Commit: https://github.com/SerenityOS/serenity/commit/72b4f95f71 Pull-request: https://github.com/SerenityOS/serenity/pull/15150 Reviewed-by: https://github.com/linusg ✅ Reviewed-by: https://github.com/sunverwerth ✅
@ -653,6 +653,8 @@ GLAPI void glTexCoord3fv(GLfloat const* v);
|
||||
GLAPI void glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q);
|
||||
GLAPI void glTexCoord4fv(GLfloat const* v);
|
||||
GLAPI void glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t);
|
||||
GLAPI void glMultiTexCoord2fvARB(GLenum target, GLfloat const* v);
|
||||
GLAPI void glMultiTexCoord2fv(GLenum target, GLfloat const* v);
|
||||
GLAPI void glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t);
|
||||
GLAPI void glTexParameteri(GLenum target, GLenum pname, GLint param);
|
||||
GLAPI void glTexParameterf(GLenum target, GLenum pname, GLfloat param);
|
||||
|
@ -631,16 +631,26 @@ void glMatrixMode(GLenum mode)
|
||||
g_gl_context->gl_matrix_mode(mode);
|
||||
}
|
||||
|
||||
void glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t)
|
||||
{
|
||||
g_gl_context->gl_multi_tex_coord(target, s, t, 0.0f, 1.0f);
|
||||
}
|
||||
|
||||
void glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t)
|
||||
{
|
||||
glMultiTexCoord2f(target, s, t);
|
||||
}
|
||||
|
||||
void glMultiTexCoord2fvARB(GLenum target, GLfloat const* v)
|
||||
{
|
||||
glMultiTexCoord2fv(target, v);
|
||||
}
|
||||
|
||||
void glMultiTexCoord2fv(GLenum target, GLfloat const* v)
|
||||
{
|
||||
g_gl_context->gl_multi_tex_coord(target, v[0], v[1], 0.f, 1.f);
|
||||
}
|
||||
|
||||
void glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t)
|
||||
{
|
||||
g_gl_context->gl_multi_tex_coord(target, s, t, 0.f, 1.f);
|
||||
}
|
||||
|
||||
void glMultMatrixd(GLdouble const* matrix)
|
||||
{
|
||||
g_gl_context->gl_mult_matrix(transpose_input_matrix<double, float>(matrix));
|
||||
|
Loading…
Reference in New Issue
Block a user