From b0c5bf21562ed26c0e8aacc6cebff1088c4cf284 Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Sun, 22 Oct 2017 12:37:30 -0300 Subject: [PATCH] Fix build? --HG-- branch : minor --- src/modules/graphics/vertex.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/modules/graphics/vertex.cpp b/src/modules/graphics/vertex.cpp index bf9218fce..52b090d49 100644 --- a/src/modules/graphics/vertex.cpp +++ b/src/modules/graphics/vertex.cpp @@ -346,6 +346,21 @@ std::vector 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 getConstants(DataType) +{ + return dataTypes.getNames(); +} + } // vertex } // graphics } // love