summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGL/SoftwareGLContext.h
diff options
context:
space:
mode:
authorJesse Buhagiar <jooster669@gmail.com>2021-08-25 01:10:19 +1000
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2021-08-25 23:50:54 +0430
commit7f1cd54b8083c55aef569ae1251043c24f64516a (patch)
treef0c7095e9be5eea3ba57c26d79bba5a7a8c347d3 /Userland/Libraries/LibGL/SoftwareGLContext.h
parentffa7da0ca56b8f50d8966ca2851622fbae455e22 (diff)
downloadserenity-7f1cd54b8083c55aef569ae1251043c24f64516a.zip
LibGL: Implement `glFogfv`
This currently just sets the fog colour in the rasterizer.
Diffstat (limited to 'Userland/Libraries/LibGL/SoftwareGLContext.h')
-rw-r--r--Userland/Libraries/LibGL/SoftwareGLContext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGL/SoftwareGLContext.h b/Userland/Libraries/LibGL/SoftwareGLContext.h
index 1f578b79b0..5b84ceafd0 100644
--- a/Userland/Libraries/LibGL/SoftwareGLContext.h
+++ b/Userland/Libraries/LibGL/SoftwareGLContext.h
@@ -87,6 +87,7 @@ public:
virtual void gl_depth_range(GLdouble min, GLdouble max) override;
virtual void gl_depth_func(GLenum func) override;
virtual void gl_polygon_mode(GLenum face, GLenum mode) override;
+ virtual void gl_fogfv(GLenum pname, GLfloat* params) override;
virtual void present() override;
private: