| 161 | { |
| 162 | |
| 163 | std::string ContextInfo::renderer() |
| 164 | { |
| 165 | auto s = reinterpret_cast<const char *>(glGetString(GL_RENDERER)); |
| 166 | |
| 167 | if (!s) |
| 168 | { |
| 169 | return ""; |
| 170 | } |
| 171 | |
| 172 | return std::string{ s }; |
| 173 | } |
| 174 | |
| 175 | std::string ContextInfo::vendor() |
| 176 | { |
nothing calls this directly
no test coverage detected