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

Function glIsShader

GTE/Graphics/GL46/GL46.cpp:3932–3951  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3930}
3931
3932GLboolean APIENTRY glIsShader(GLuint shader)
3933{
3934 GLboolean result;
3935 if (sglIsShader)
3936 {
3937 result = sglIsShader(shader);
3938 ReportGLError("glIsShader");
3939 }
3940 else
3941 {
3942 ReportGLNullFunction("glIsShader");
3943 result = 0;
3944 }
3945
3946#if defined(GTE_ENABLE_GLTRACE)
3947 gsTrace.Call("glIsShader", gsTrace.GetBoolean(result),
3948 shader);
3949#endif
3950 return result;
3951}
3952
3953void APIENTRY glLinkProgram(GLuint program)
3954{

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