mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 19:15:07 +00:00
LibGL: Implement glActiveTexture
This commit is contained in:
parent
52e5d3c961
commit
573c1c82f7
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