summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGL/GLFog.cpp
diff options
context:
space:
mode:
authorJesse Buhagiar <jooster669@gmail.com>2021-08-25 01:21:54 +1000
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2021-08-25 23:50:54 +0430
commitd73cc3d0ebf2421c80b524dc27d01fd7f1802d69 (patch)
tree950b891c5c0e20581225a844752f3a3813e61293 /Userland/Libraries/LibGL/GLFog.cpp
parentf55d2a22af99e102039fa8a55d944ae1a7554ee3 (diff)
downloadserenity-d73cc3d0ebf2421c80b524dc27d01fd7f1802d69.zip
LibGL: Implement `glFogi`
Diffstat (limited to 'Userland/Libraries/LibGL/GLFog.cpp')
-rw-r--r--Userland/Libraries/LibGL/GLFog.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGL/GLFog.cpp b/Userland/Libraries/LibGL/GLFog.cpp
index 37fc2253e5..7f427f43dc 100644
--- a/Userland/Libraries/LibGL/GLFog.cpp
+++ b/Userland/Libraries/LibGL/GLFog.cpp
@@ -18,3 +18,8 @@ void glFogf(GLenum pname, GLfloat param)
{
g_gl_context->gl_fogf(pname, param);
}
+
+void glFogi(GLenum pname, GLint param)
+{
+ g_gl_context->gl_fogi(pname, param);
+}