src/gl/compiler.cpp

changeset 200
ca23936b455b
parent 193
b4beff48bb7a
child 205
1a4342d80de7
--- a/src/gl/compiler.cpp	Wed May 25 20:36:34 2022 +0300
+++ b/src/gl/compiler.cpp	Mon Jun 06 22:01:22 2022 +0300
@@ -311,7 +311,7 @@
 	}
 }
 
-ldraw::id_t gl::idFromColor(const std::array<GLubyte, 3>& data)
+ModelId gl::idFromColor(const std::array<GLubyte, 3>& data)
 {
 	return {data[0] * std::int32_t{0x10000} + data[1] * std::int32_t{0x100} + data[2]};
 }
@@ -330,7 +330,7 @@
 	shaderObject.vertexArray.release();
 }
 
-void gl::setModelShaderSelectedObjects(gl::ModelShaders* shaders, const QSet<ldraw::id_t>& ids)
+void gl::setModelShaderSelectedObjects(gl::ModelShaders* shaders, const QSet<ModelId> &ids)
 {
 	for (ModelShaders::ShaderObject& object : shaders->shaderObjects)
 	{

mercurial