From 7f1cd54b8083c55aef569ae1251043c24f64516a Mon Sep 17 00:00:00 2001 From: Jesse Buhagiar Date: Wed, 25 Aug 2021 01:10:19 +1000 Subject: LibGL: Implement `glFogfv` This currently just sets the fog colour in the rasterizer. --- Userland/Libraries/LibGL/SoftwareGLContext.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Userland/Libraries/LibGL/SoftwareGLContext.h') 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: -- cgit v1.2.3