diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index dde4d3d2bf..9c56d100fb 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -1152,7 +1152,6 @@ void RasterizerOpenGL::SyncPointState() { state.point.size = regs.point_size; } - void RasterizerOpenGL::SyncPolygonOffset() { const auto& regs = Core::System::GetInstance().GPU().Maxwell3D().regs; state.polygon_offset.fill_enable = regs.polygon_offset_fill_enable != 0; diff --git a/src/video_core/renderer_opengl/gl_state.cpp b/src/video_core/renderer_opengl/gl_state.cpp index d9c71cffdc..e6f1a193d8 100644 --- a/src/video_core/renderer_opengl/gl_state.cpp +++ b/src/video_core/renderer_opengl/gl_state.cpp @@ -383,7 +383,6 @@ void OpenGLState::ApplyLogicOp() const { } } - void OpenGLState::ApplyPolygonOffset() const { const bool fill_enable_changed = @@ -427,7 +426,8 @@ void OpenGLState::ApplyPolygonOffset() const { glPolygonOffsetClamp(polygon_offset.factor, polygon_offset.units, polygon_offset.clamp); } else { glPolygonOffset(polygon_offset.factor, polygon_offset.units); - UNIMPLEMENTED_IF_MSG(polygon_offset.clamp != 0, "Unimplemented Depth polygon offset clamp."); + UNIMPLEMENTED_IF_MSG(polygon_offset.clamp != 0, + "Unimplemented Depth polygon offset clamp."); } } }