MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / glGetStringi

Function glGetStringi

GTE/Graphics/GL46/GL46.cpp:6381–6401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6379}
6380
6381const GLubyte* APIENTRY glGetStringi(GLenum name, GLuint index)
6382{
6383 const GLubyte* result;
6384 if (sglGetStringi)
6385 {
6386 result = sglGetStringi(name, index);
6387 ReportGLError("glGetStringi");
6388 }
6389 else
6390 {
6391 ReportGLNullFunction("glGetStringi");
6392 result = 0;
6393 }
6394
6395#if defined(GTE_ENABLE_GLTRACE)
6396 std::string text = (result ? reinterpret_cast<char const*>(result) : "");
6397 gsTrace.Call("glGetStringi", text,
6398 gsTrace.GetName(name), index);
6399#endif
6400 return result;
6401}
6402
6403GLboolean APIENTRY glIsRenderbuffer(GLuint renderbuffer)
6404{

Callers 1

InitializeOpenGLFunction · 0.85

Calls 4

ReportGLErrorFunction · 0.85
ReportGLNullFunctionFunction · 0.85
CallMethod · 0.80
GetNameMethod · 0.80

Tested by

no test coverage detected