Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
80
void 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
89
bool IsTexBound(int unit, unsigned int tex)
90
{
Callers
3
AUTO_STATIC_ARRAY
Function · 0.85
EnsureTarget
Function · 0.85
ShutdownGL
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected