src/gl/compiler.cpp

changeset 78
97c3ce5aa498
parent 73
97df974b5ed5
child 80
764381756899
--- a/src/gl/compiler.cpp	Mon Mar 09 23:42:26 2020 +0200
+++ b/src/gl/compiler.cpp	Wed Mar 11 17:19:28 2020 +0200
@@ -237,7 +237,7 @@
 	return gl::ArrayClass::Lines;
 }
 
-ldraw::id_t gl::Compiler::idFromColor(const std::array<GLbyte, 3>& data)
+ldraw::id_t gl::Compiler::idFromColor(const std::array<GLubyte, 3>& data)
 {
 	return {data[0] * std::int32_t{0x10000} + data[1] * std::int32_t{0x100} + data[2]};
 }

mercurial