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

Function glIsProgram

GTE/Graphics/GL46/GL46.cpp:3911–3930  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3909}
3910
3911GLboolean APIENTRY glIsProgram(GLuint program)
3912{
3913 GLboolean result;
3914 if (sglIsProgram)
3915 {
3916 result = sglIsProgram(program);
3917 ReportGLError("glIsProgram");
3918 }
3919 else
3920 {
3921 ReportGLNullFunction("glIsProgram");
3922 result = 0;
3923 }
3924
3925#if defined(GTE_ENABLE_GLTRACE)
3926 gsTrace.Call("glIsProgram", gsTrace.GetBoolean(result),
3927 program);
3928#endif
3929 return result;
3930}
3931
3932GLboolean APIENTRY glIsShader(GLuint shader)
3933{

Callers 2

~GLSLComputeProgramMethod · 0.85
~GLSLVisualProgramMethod · 0.85

Calls 4

ReportGLErrorFunction · 0.85
ReportGLNullFunctionFunction · 0.85
CallMethod · 0.80
GetBooleanMethod · 0.45

Tested by

no test coverage detected