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

Function glGetAttachedShaders

GTE/Graphics/GL46/GL46.cpp:3653–3669  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3651}
3652
3653void APIENTRY glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei* count, GLuint* shaders)
3654{
3655 if (sglGetAttachedShaders)
3656 {
3657 sglGetAttachedShaders(program, maxCount, count, shaders);
3658 ReportGLError("glGetAttachedShaders");
3659 }
3660 else
3661 {
3662 ReportGLNullFunction("glGetAttachedShaders");
3663 }
3664
3665#if defined(GTE_ENABLE_GLTRACE)
3666 gsTrace.Call("glGetAttachedShaders", "",
3667 program, maxCount, *count, gsTrace.GetArray(*count, shaders));
3668#endif
3669}
3670
3671GLint APIENTRY glGetAttribLocation(GLuint program, const GLchar* name)
3672{

Callers 1

IntelWorkaroundMethod · 0.85

Calls 4

ReportGLErrorFunction · 0.85
ReportGLNullFunctionFunction · 0.85
CallMethod · 0.80
GetArrayMethod · 0.80

Tested by

no test coverage detected