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

Function glActiveTexture

GTE/Graphics/GL46/GL46.cpp:2468–2484  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2466static PFNGLGETCOMPRESSEDTEXIMAGEPROC sglGetCompressedTexImage = nullptr;
2467
2468void APIENTRY glActiveTexture(GLenum texture)
2469{
2470 if (sglActiveTexture)
2471 {
2472 sglActiveTexture(texture);
2473 ReportGLError("glActiveTexture");
2474 }
2475 else
2476 {
2477 ReportGLNullFunction("glActiveTexture");
2478 }
2479
2480#if defined(GTE_ENABLE_GLTRACE)
2481 gsTrace.Call("glActiveTexture", "",
2482 gsTrace.GetName(texture));
2483#endif
2484}
2485
2486void APIENTRY glSampleCoverage(GLfloat value, GLboolean invert)
2487{

Callers 4

EnableTexturesMethod · 0.85
DisableTexturesMethod · 0.85
EnableTextureArraysMethod · 0.85
DisableTextureArraysMethod · 0.85

Calls 4

ReportGLErrorFunction · 0.85
ReportGLNullFunctionFunction · 0.85
CallMethod · 0.80
GetNameMethod · 0.80

Tested by

no test coverage detected