MCPcopy Create free account
hub / github.com/crownengine/crown / getGLString

Function getGLString

3rdparty/bgfx/src/renderer_gl.cpp:1180–1190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1178 }
1179
1180 static const char* getGLString(GLenum _name)
1181 {
1182 const char* str = (const char*)glGetString(_name);
1183 getGlError(); // ignore error if glGetString returns NULL.
1184 if (NULL != str)
1185 {
1186 return str;
1187 }
1188
1189 return "<unknown>";
1190 }
1191
1192 static uint32_t getGLStringHash(GLenum _name)
1193 {

Callers 1

initMethod · 0.85

Calls 1

getGlErrorFunction · 0.85

Tested by

no test coverage detected