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

Function glCreateShader

GTE/Graphics/GL46/GL46.cpp:3506–3525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3504}
3505
3506GLuint APIENTRY glCreateShader(GLenum type)
3507{
3508 GLuint result;
3509 if (sglCreateShader)
3510 {
3511 result = sglCreateShader(type);
3512 ReportGLError("glCreateShader");
3513 }
3514 else
3515 {
3516 ReportGLNullFunction("glCreateShader");
3517 result = 0;
3518 }
3519
3520#if defined(GTE_ENABLE_GLTRACE)
3521 gsTrace.Call("glCreateShader", std::to_string(result),
3522 gsTrace.GetName(type));
3523#endif
3524 return result;
3525}
3526
3527void APIENTRY glDeleteProgram(GLuint program)
3528{

Callers 1

CompileMethod · 0.85

Calls 4

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

Tested by

no test coverage detected