mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-15 23:52:57 +00:00
LibGL: Implement glActiveTexture
This commit is contained in:
parent
52e5d3c961
commit
573c1c82f7
Notes:
sideshowbarker
2024-07-18 17:07:32 +09:00
Author: https://github.com/Quaker762
Commit: 573c1c82f7
Pull-request: https://github.com/SerenityOS/serenity/pull/7586
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/linusg
Reviewed-by: https://github.com/sunverwerth ✅
5 changed files with 51 additions and 0 deletions
|
@ -29,3 +29,10 @@ void glBindTexture(GLenum target, GLuint texture)
|
|||
{
|
||||
g_gl_context->gl_bind_texture(target, texture);
|
||||
}
|
||||
|
||||
// Note: This is an _extremely_ misleading API name. This sets the active
|
||||
// texture unit, NOT the active texture itself...
|
||||
void glActiveTexture(GLenum texture)
|
||||
{
|
||||
g_gl_context->gl_active_texture(texture);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue