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

Function glEnablei

GTE/Graphics/GL46/GL46.cpp:5405–5421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5403}
5404
5405void APIENTRY glEnablei(GLenum target, GLuint index)
5406{
5407 if (sglEnablei)
5408 {
5409 sglEnablei(target, index);
5410 ReportGLError("glEnablei");
5411 }
5412 else
5413 {
5414 ReportGLNullFunction("glEnablei");
5415 }
5416
5417#if defined(GTE_ENABLE_GLTRACE)
5418 gsTrace.Call("glEnablei", "",
5419 gsTrace.GetBoolean(target), index);
5420#endif
5421}
5422
5423void APIENTRY glDisablei(GLenum target, GLuint index)
5424{

Callers 1

EnableMethod · 0.85

Calls 4

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

Tested by

no test coverage detected