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

Function glAttachShader

GTE/Graphics/GL46/GL46.cpp:3432–3448  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3430}
3431
3432void APIENTRY glAttachShader(GLuint program, GLuint shader)
3433{
3434 if (sglAttachShader)
3435 {
3436 sglAttachShader(program, shader);
3437 ReportGLError("glAttachShader");
3438 }
3439 else
3440 {
3441 ReportGLNullFunction("glAttachShader");
3442 }
3443
3444#if defined(GTE_ENABLE_GLTRACE)
3445 gsTrace.Call("glAttachShader", "",
3446 program, shader);
3447#endif
3448}
3449
3450void APIENTRY glBindAttribLocation(GLuint program, GLuint index, const GLchar* name)
3451{

Callers 2

CreateFromNamedSourceMethod · 0.85

Calls 3

ReportGLErrorFunction · 0.85
ReportGLNullFunctionFunction · 0.85
CallMethod · 0.80

Tested by

no test coverage detected