diff -r bb60dda3093f -r caac957e9834 src/gl/partrenderer.h --- a/src/gl/partrenderer.h Sat Feb 01 15:49:28 2020 +0200 +++ b/src/gl/partrenderer.h Sat Feb 01 17:10:11 2020 +0200 @@ -21,7 +21,7 @@ const ldraw::ColorTable& colorTable, QWidget* parent = nullptr); ~PartRenderer() override; - void setRenderStyle(const gl::RenderStyle newStyle); + void setRenderPreferences(const gl::RenderPreferences& newPreferences); protected: void initializeGL() override; void resizeGL(int width, int height) override; @@ -38,7 +38,7 @@ const ldraw::ColorTable& colorTable; QPointF lastMousePosition; gl::Compiler* compiler; - gl::RenderStyle renderStyle = gl::RenderStyle::Normal; + gl::RenderPreferences renderPreferences; glm::mat4 projectionMatrix; glm::mat4 viewMatrix; glm::quat modelQuaternion;