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

Function glCreateProgram

GTE/Graphics/GL46/GL46.cpp:3486–3504  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3484}
3485
3486GLuint APIENTRY glCreateProgram()
3487{
3488 GLuint result;
3489 if (sglCreateProgram)
3490 {
3491 result = sglCreateProgram();
3492 ReportGLError("glCreateProgram");
3493 }
3494 else
3495 {
3496 ReportGLNullFunction("glCreateProgram");
3497 result = 0;
3498 }
3499
3500#if defined(GTE_ENABLE_GLTRACE)
3501 gsTrace.Call("glCreateProgram", std::to_string(result));
3502#endif
3503 return result;
3504}
3505
3506GLuint APIENTRY glCreateShader(GLenum type)
3507{

Callers 2

CreateFromNamedSourceMethod · 0.85

Calls 3

ReportGLErrorFunction · 0.85
ReportGLNullFunctionFunction · 0.85
CallMethod · 0.80

Tested by

no test coverage detected