diff options
Diffstat (limited to 'Userland/Libraries/LibGL/GLTexture.cpp')
-rw-r--r-- | Userland/Libraries/LibGL/GLTexture.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGL/GLTexture.cpp b/Userland/Libraries/LibGL/GLTexture.cpp index 7b4e40f9eb..73c8d1af46 100644 --- a/Userland/Libraries/LibGL/GLTexture.cpp +++ b/Userland/Libraries/LibGL/GLTexture.cpp @@ -52,8 +52,11 @@ GLboolean glIsTexture(GLuint texture) return g_gl_context->gl_is_texture(texture); } -// Note: This is an _extremely_ misleading API name. This sets the active -// texture unit, NOT the active texture itself... +void glActiveTextureARB(GLenum texture) +{ + glActiveTexture(texture); +} + void glActiveTexture(GLenum texture) { g_gl_context->gl_active_texture(texture); |