src/gl/compiler.h

changeset 73
97df974b5ed5
parent 51
1a9eac27698d
child 78
97c3ce5aa498
--- a/src/gl/compiler.h	Fri Mar 06 23:45:44 2020 +0200
+++ b/src/gl/compiler.h	Mon Mar 09 14:21:54 2020 +0200
@@ -61,9 +61,9 @@
 	void bindVertexArray(gl::ArrayClass arrayClass);
 	void releaseVertexArray(gl::ArrayClass arrayClass);
 	void buildShaders(int arrayId);
-	void setSelectedObjects(const QSet<ldraw::Id> ids);
+	void setSelectedObjects(const QSet<ldraw::id_t> ids);
 
-	static ldraw::Id idFromColor(const std::array<GLbyte, 3>& data);
+	static ldraw::id_t idFromColor(const std::array<GLbyte, 3>& data);
 
 	template<typename T>
 	void setUniform(const char* uniformName, T&& value)
@@ -90,7 +90,7 @@
 	bool initialized = false;
 	BoundingBox boundingBox;
 	const ldraw::ColorTable& colorTable;
-	ldraw::Id hovered = ldraw::NULL_ID;
+	ldraw::id_t hovered = ldraw::NULL_ID;
 	struct
 	{
 		QOpenGLShaderProgram* program = nullptr;

mercurial