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

Function glUseProgram

GTE/Graphics/GL46/GL46.cpp:3989–4005  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3987}
3988
3989void APIENTRY glUseProgram(GLuint program)
3990{
3991 if (sglUseProgram)
3992 {
3993 sglUseProgram(program);
3994 ReportGLError("glUseProgram");
3995 }
3996 else
3997 {
3998 ReportGLNullFunction("glUseProgram");
3999 }
4000
4001#if defined(GTE_ENABLE_GLTRACE)
4002 gsTrace.Call("glUseProgram", "",
4003 program);
4004#endif
4005}
4006
4007void APIENTRY glUniform1f(GLint location, GLfloat v0)
4008{

Callers 2

ExecuteMethod · 0.85
DrawPrimitiveMethod · 0.85

Calls 3

ReportGLErrorFunction · 0.85
ReportGLNullFunctionFunction · 0.85
CallMethod · 0.80

Tested by

no test coverage detected