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

Function glCreateShaderProgramv

GTE/Graphics/GL46/GL46.cpp:9429–9448  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9427}
9428
9429GLuint APIENTRY glCreateShaderProgramv(GLenum type, GLsizei count, const GLchar* const* strings)
9430{
9431 GLuint result;
9432 if (sglCreateShaderProgramv)
9433 {
9434 result = sglCreateShaderProgramv(type, count, strings);
9435 ReportGLError("glCreateShaderProgramv");
9436 }
9437 else
9438 {
9439 ReportGLNullFunction("glCreateShaderProgramv");
9440 result = 0;
9441 }
9442
9443#if defined(GTE_ENABLE_GLTRACE)
9444 gsTrace.Call("glCreateShaderProgramv", std::to_string(result),
9445 gsTrace.GetName(type), count, gsTrace.GetStringArray(count, strings));
9446#endif
9447 return result;
9448}
9449
9450void APIENTRY glBindProgramPipeline(GLuint pipeline)
9451{

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected