MCPcopy Create free account
hub / github.com/cginternals/glbinding / renderer

Method renderer

source/glbinding-aux/source/ContextInfo.cpp:163–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161{
162
163std::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
175std::string ContextInfo::vendor()
176{

Callers

nothing calls this directly

Calls 1

glGetStringFunction · 0.85

Tested by

no test coverage detected