summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGL/GLTexture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibGL/GLTexture.cpp')
-rw-r--r--Userland/Libraries/LibGL/GLTexture.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGL/GLTexture.cpp b/Userland/Libraries/LibGL/GLTexture.cpp
index a8dfc6cb2a..97364df1bf 100644
--- a/Userland/Libraries/LibGL/GLTexture.cpp
+++ b/Userland/Libraries/LibGL/GLTexture.cpp
@@ -36,3 +36,13 @@ void glActiveTexture(GLenum texture)
{
g_gl_context->gl_active_texture(texture);
}
+
+void glTexParameteri(GLenum target, GLenum pname, GLint param)
+{
+ g_gl_context->gl_tex_parameter(target, pname, param);
+}
+
+void glTexParameterf(GLenum target, GLenum pname, GLfloat param)
+{
+ g_gl_context->gl_tex_parameter(target, pname, param);
+}