summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGL/GLContext.h
diff options
context:
space:
mode:
authorStephan Unverwerth <s.unverwerth@serenityos.org>2021-08-31 20:50:01 +0200
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2021-09-02 21:00:24 +0430
commit15299b763cf3c5b8b8cbf508f01eabe08afe6bcd (patch)
treec82febd4d4ae2fcca1dbaabdcbacd99cb05e660e /Userland/Libraries/LibGL/GLContext.h
parent7cbaaf8366d1baa824392c63bb9a92d3ff5842ae (diff)
downloadserenity-15299b763cf3c5b8b8cbf508f01eabe08afe6bcd.zip
LibGL: Implement glPolygonOffset
Diffstat (limited to 'Userland/Libraries/LibGL/GLContext.h')
-rw-r--r--Userland/Libraries/LibGL/GLContext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGL/GLContext.h b/Userland/Libraries/LibGL/GLContext.h
index c5f3d28679..a6429fd484 100644
--- a/Userland/Libraries/LibGL/GLContext.h
+++ b/Userland/Libraries/LibGL/GLContext.h
@@ -79,6 +79,7 @@ public:
virtual void gl_depth_range(GLdouble min, GLdouble max) = 0;
virtual void gl_depth_func(GLenum func) = 0;
virtual void gl_polygon_mode(GLenum face, GLenum mode) = 0;
+ virtual void gl_polygon_offset(GLfloat factor, GLfloat units) = 0;
virtual void gl_fogfv(GLenum pname, GLfloat* params) = 0;
virtual void gl_fogf(GLenum pname, GLfloat params) = 0;
virtual void gl_fogi(GLenum pname, GLint param) = 0;