src/glcompiler.h

changeset 1159
6ad8cdcd88d9
parent 1146
bb728c124d47
child 1173
6cd85b28f43b
--- a/src/glcompiler.h	Thu Feb 23 20:06:22 2017 +0200
+++ b/src/glcompiler.h	Thu Feb 23 20:18:39 2017 +0200
@@ -38,7 +38,7 @@
 
 	GLCompiler (GLRenderer* renderer);
 	~GLCompiler();
-	QColor getColorForPolygon (LDPolygon& poly, LDObject* topobj, VboSubclass complement) const;
+	QColor getColorForPolygon (LDPolygon& poly, LDObject* topobj, VboSubclass complement);
 	QColor indexColorForID (int id) const;
 	void initialize();
 	void needMerge();
@@ -68,5 +68,5 @@
 	GLRenderer* m_renderer;
 };
 
-#define CHECK_GL_ERROR() { CheckGLErrorImpl (__FILE__, __LINE__); }
-void CheckGLErrorImpl (const char* file, int line);
+#define CHECK_GL_ERROR() { CheckGLErrorImpl (this, __FILE__, __LINE__); }
+void CheckGLErrorImpl (HierarchyElement* element, const char* file, int line);

mercurial