src/gl/vertexprogram.h

changeset 200
ca23936b455b
parent 119
24275a4064f4
child 214
8e1fe64ce4e3
--- a/src/gl/vertexprogram.h	Wed May 25 20:36:34 2022 +0300
+++ b/src/gl/vertexprogram.h	Mon Jun 06 22:01:22 2022 +0300
@@ -1,7 +1,7 @@
 #ifndef VERTEXPROGRAM_H
 #define VERTEXPROGRAM_H
 #include "basicshaderprogram.h"
-class Document;
+class EditorTabWidget;
 
 class VertexProgram : public AbstractBasicShaderProgram
 {
@@ -17,7 +17,7 @@
 		glm::vec3 color;
 	};
 	VertexProgram(QObject* parent = nullptr);
-	void build(const Document* document);
+	void build(const EditorTabWidget* document);
 protected:
 	const char* vertexShaderSource() const override;
 	const char* fragmentShaderSource() const override;

mercurial