mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-19 15:58:56 +00:00
LibGL: Implement glTexCoord2fv
This commit is contained in:
parent
315973e73c
commit
651ea89094
Notes:
sideshowbarker
2024-07-17 22:52:19 +09:00
Author: https://github.com/gmta
Commit: 651ea89094
Pull-request: https://github.com/SerenityOS/serenity/pull/11154
Reviewed-by: https://github.com/sunverwerth ✅
2 changed files with 6 additions and 0 deletions
|
@ -145,6 +145,11 @@ void glTexCoord2f(GLfloat s, GLfloat t)
|
|||
g_gl_context->gl_tex_coord(s, t, 0.0f, 0.0f);
|
||||
}
|
||||
|
||||
void glTexCoord2fv(GLfloat const* v)
|
||||
{
|
||||
g_gl_context->gl_tex_coord(v[0], v[1], 0.0f, 0.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