mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-21 09:49:21 +00:00
LibGL: Implement glTexCoord2f
This commit is contained in:
parent
4f324ba4d7
commit
e21ba0cd12
Notes:
sideshowbarker
2024-07-18 17:22:08 +09:00
Author: https://github.com/Quaker762
Commit: e21ba0cd12
Pull-request: https://github.com/SerenityOS/serenity/pull/7024
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/ccapitalK
Reviewed-by: https://github.com/predmond
Reviewed-by: https://github.com/sunverwerth
5 changed files with 19 additions and 0 deletions
|
@ -140,6 +140,11 @@ void glVertex4sv(const GLshort* v)
|
|||
g_gl_context->gl_vertex(v[0], v[1], v[2], v[3]);
|
||||
}
|
||||
|
||||
void glTexCoord2f(GLfloat s, GLfloat t)
|
||||
{
|
||||
g_gl_context->gl_tex_coord(s, t, 0.0f, 0.0f);
|
||||
}
|
||||
|
||||
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