1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:38:11 +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:
Stephan Unverwerth 2022-01-15 18:08:14 +01:00 committed by Andreas Kling
parent 716b53e90f
commit 044582b0ce
6 changed files with 44 additions and 1 deletions

View file

@ -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);