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.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGL/GLTexture.cpp b/Userland/Libraries/LibGL/GLTexture.cpp
index 60c7ee31bd..354b8be7ae 100644
--- a/Userland/Libraries/LibGL/GLTexture.cpp
+++ b/Userland/Libraries/LibGL/GLTexture.cpp
@@ -61,3 +61,8 @@ void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x
{
g_gl_context->gl_copy_tex_image_2d(target, level, internalformat, x, y, width, height, border);
}
+
+void glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint* params)
+{
+ g_gl_context->gl_get_tex_parameter_integerv(target, level, pname, params);
+}