MCPcopy Create free account
hub / github.com/comaps/comaps / glGetString

Method glGetString

libs/drape/gl_functions.cpp:432–441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

430}
431
432std::string GLFunctions::glGetString(glConst pname)
433{
434 ASSERT_EQUAL(CurrentApiVersion, dp::ApiVersion::OpenGLES3, ());
435 char const * str = reinterpret_cast<char const *>(::glGetString(pname));
436 GLCHECKCALL();
437 if (str == nullptr)
438 return "";
439
440 return std::string(str);
441}
442
443int32_t GLFunctions::glGetMaxLineWidth()
444{

Callers 1

initializeGLMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected