浏览代码

Fix build?

--HG--
branch : minor
Alex Szpakowski 8 年之前
父节点
当前提交
b0c5bf2156
共有 1 个文件被更改,包括 15 次插入0 次删除
  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