2
0
Эх сурвалжийг харах

Fix build?

--HG--
branch : minor
Alex Szpakowski 8 жил өмнө
parent
commit
b0c5bf2156

+ 15 - 0
src/modules/graphics/vertex.cpp

@@ -346,6 +346,21 @@ std::vector<std::string> getConstants(AttributeStep)
 	return attributeSteps.getNames();
 }
 
+bool getConstant(const char *in, DataType &out)
+{
+	return dataTypes.find(in, out);
+}
+
+bool getConstant(DataType in, const char *&out)
+{
+	return dataTypes.find(in, out);
+}
+
+std::vector<std::string> getConstants(DataType)
+{
+	return dataTypes.getNames();
+}
+
 } // vertex
 } // graphics
 } // love