diff -r ee5758ddb6d2 -r 8e1fe64ce4e3 src/gl/vertexprogram.h --- a/src/gl/vertexprogram.h Sat Jun 11 15:20:24 2022 +0300 +++ b/src/gl/vertexprogram.h Sun Jun 12 20:47:04 2022 +0300 @@ -1,7 +1,7 @@ #ifndef VERTEXPROGRAM_H #define VERTEXPROGRAM_H #include "basicshaderprogram.h" -class EditorTabWidget; +class VertexMap; class VertexProgram : public AbstractBasicShaderProgram { @@ -17,7 +17,7 @@ glm::vec3 color; }; VertexProgram(QObject* parent = nullptr); - void build(const EditorTabWidget* document); + void build(const VertexMap* document); protected: const char* vertexShaderSource() const override; const char* fragmentShaderSource() const override;