diff options
Diffstat (limited to 'Userland/Libraries/LibGL/GLContext.cpp')
-rw-r--r-- | Userland/Libraries/LibGL/GLContext.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGL/GLContext.cpp b/Userland/Libraries/LibGL/GLContext.cpp index 4e5f0ff436..2056ae929e 100644 --- a/Userland/Libraries/LibGL/GLContext.cpp +++ b/Userland/Libraries/LibGL/GLContext.cpp @@ -1144,6 +1144,9 @@ void GLContext::gl_line_width(GLfloat width) RETURN_WITH_ERROR_IF(width <= 0, GL_INVALID_VALUE); m_line_width = width; + auto options = m_rasterizer->options(); + options.line_width = width; + m_rasterizer->set_options(options); } void GLContext::gl_push_attrib(GLbitfield mask) |