src/gl/compiler.cpp

changeset 309
d862721d19a3
parent 305
d891da20abca
child 333
07e65a4c6611
--- a/src/gl/compiler.cpp	Wed Jun 29 16:21:44 2022 +0300
+++ b/src/gl/compiler.cpp	Wed Jun 29 16:33:49 2022 +0300
@@ -309,7 +309,7 @@
 	}
 }
 
-ModelId gl::idFromUcharColor(const std::array<GLubyte, 3>& data)
+ElementId gl::idFromUcharColor(const std::array<GLubyte, 3>& data)
 {
 	return {
 		static_cast<std::int32_t>(data[0]) |
@@ -332,7 +332,7 @@
 	shaderObject.vertexArray.release();
 }
 
-void gl::setModelShaderSelectedObjects(gl::ModelShaders* shaders, const QSet<ModelId> &ids)
+void gl::setModelShaderSelectedObjects(gl::ModelShaders* shaders, const QSet<ElementId> &ids)
 {
 	for (ModelShaders::ShaderObject& object : shaders->shaderObjects)
 	{

mercurial