MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / OnTexDeleted

Function OnTexDeleted

engine/PoseidonGL33/GL33BindCache.cpp:80–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80void OnTexDeleted(unsigned int tex)
81{
82 for (int i = 0; i < kUnits; i++)
83 {
84 if (g_tex[i] == tex)
85 g_tex[i] = kUnknown;
86 }
87}
88
89bool IsTexBound(int unit, unsigned int tex)
90{

Callers 3

AUTO_STATIC_ARRAYFunction · 0.85
EnsureTargetFunction · 0.85
ShutdownGLMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected