mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +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
|
@ -135,6 +135,16 @@ void glDisableClientState(GLenum cap)
|
|||
g_gl_context->gl_disable_client_state(cap);
|
||||
}
|
||||
|
||||
void glClientActiveTextureARB(GLenum target)
|
||||
{
|
||||
glClientActiveTexture(target);
|
||||
}
|
||||
|
||||
void glClientActiveTexture(GLenum target)
|
||||
{
|
||||
g_gl_context->gl_client_active_texture(target);
|
||||
}
|
||||
|
||||
void glDepthRange(GLdouble min, GLdouble max)
|
||||
{
|
||||
g_gl_context->gl_depth_range(min, max);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue