Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/danoon2/Boxedwine
/ CleanupDeviceD3D
Function
CleanupDeviceD3D
source/ui/mainui.cpp:57–61 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
55
}
56
57
void CleanupDeviceD3D()
58
{
59
if (g_pd3dDevice) { g_pd3dDevice->Release(); g_pd3dDevice = nullptr; }
60
if (g_pD3D) { g_pD3D->Release(); g_pD3D = nullptr; }
61
}
62
63
void ResetDevice()
64
{
Callers
2
uiShutdown
Function · 0.70
uiShow
Function · 0.70
Calls
1
Release
Method · 0.80
Tested by
no test coverage detected