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

Function glShaderSource

GTE/Graphics/GL46/GL46.cpp:3971–3987  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3969}
3970
3971void APIENTRY glShaderSource(GLuint shader, GLsizei count, const GLchar* const* string, const GLint* length)
3972{
3973 if (sglShaderSource)
3974 {
3975 sglShaderSource(shader, count, string, length);
3976 ReportGLError("glShaderSource");
3977 }
3978 else
3979 {
3980 ReportGLNullFunction("glShaderSource");
3981 }
3982
3983#if defined(GTE_ENABLE_GLTRACE)
3984 gsTrace.Call("glShaderSource", "",
3985 shader, count, "strings", "lengths");
3986#endif
3987}
3988
3989void APIENTRY glUseProgram(GLuint program)
3990{

Callers 1

CompileMethod · 0.85

Calls 3

ReportGLErrorFunction · 0.85
ReportGLNullFunctionFunction · 0.85
CallMethod · 0.80

Tested by

no test coverage detected