| 193 | } |
| 194 | |
| 195 | GLbitfield Meta::getBitfield(const std::string & glbitfield) |
| 196 | { |
| 197 | const auto index = alphabeticalGroupIndex(glbitfield, 3); |
| 198 | const auto & map = Meta_BitfieldsByStringMaps[index]; |
| 199 | const auto i = map.find(glbitfield); |
| 200 | |
| 201 | if (i != map.cend()) |
| 202 | { |
| 203 | return i->second; |
| 204 | } |
| 205 | |
| 206 | return static_cast<GLbitfield>(-1); |
| 207 | } |
| 208 | |
| 209 | GLenum Meta::getEnum(const std::string & glenum) |
| 210 | { |
nothing calls this directly
no outgoing calls
no test coverage detected