| 207 | } |
| 208 | |
| 209 | GLenum Meta::getEnum(const std::string & glenum) |
| 210 | { |
| 211 | const auto index = alphabeticalGroupIndex(glenum, 3); |
| 212 | const auto & map = Meta_EnumsByStringMaps[index]; |
| 213 | const auto i = map.find(glenum); |
| 214 | |
| 215 | if (i != map.cend()) |
| 216 | { |
| 217 | return i->second; |
| 218 | } |
| 219 | |
| 220 | return static_cast<GLenum>(static_cast<unsigned int>(-1)); |
| 221 | } |
| 222 | |
| 223 | const std::set<GLextension> Meta::extensions(const Version & version) |
| 224 | { |
nothing calls this directly
no outgoing calls
no test coverage detected