mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-24 18:02:20 +00:00
LibGL: Add stubs for multitexturing and announce GL_ARB_multitexture
This makes glquake recognize multitexture support and choose the multitexture rendering path.
This commit is contained in:
parent
716b53e90f
commit
044582b0ce
Notes:
sideshowbarker
2024-07-17 20:39:15 +09:00
Author: https://github.com/sunverwerth
Commit: 044582b0ce
Pull-request: https://github.com/SerenityOS/serenity/pull/11927
Reviewed-by: https://github.com/IdanHo
Reviewed-by: https://github.com/Quaker762 ✅
Reviewed-by: https://github.com/gmta ✅
6 changed files with 44 additions and 1 deletions
|
@ -195,6 +195,16 @@ void glTexCoord4fv(const GLfloat* v)
|
|||
g_gl_context->gl_tex_coord(v[0], v[1], v[2], v[3]);
|
||||
}
|
||||
|
||||
void glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t)
|
||||
{
|
||||
glMultiTexCoord2f(target, s, t);
|
||||
}
|
||||
|
||||
void glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t)
|
||||
{
|
||||
g_gl_context->gl_multi_tex_coord(target, s, t, 0.0f, 1.0f);
|
||||
}
|
||||
|
||||
void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz)
|
||||
{
|
||||
g_gl_context->gl_normal(nx, ny, nz);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue