summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGL/GLUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibGL/GLUtils.cpp')
-rw-r--r--Userland/Libraries/LibGL/GLUtils.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGL/GLUtils.cpp b/Userland/Libraries/LibGL/GLUtils.cpp
index 539aacfb32..1fa3467864 100644
--- a/Userland/Libraries/LibGL/GLUtils.cpp
+++ b/Userland/Libraries/LibGL/GLUtils.cpp
@@ -78,4 +78,9 @@ void glHint(GLenum target, GLenum mode)
void glReadBuffer(GLenum mode)
{
g_gl_context->gl_read_buffer(mode);
-} \ No newline at end of file
+}
+
+void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels)
+{
+ g_gl_context->gl_read_pixels(x, y, width, height, format, type, pixels);
+}