Browse Source

Fix build?

--HG--
branch : minor
Alex Szpakowski 7 years ago
parent
commit
b0c5bf2156
1 changed files with 15 additions and 0 deletions
  1. 15 0
      src/modules/graphics/vertex.cpp

+ 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