MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / ThreadCleanUp

Method ThreadCleanUp

olcPixelGameEngine.h:6717–6722  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6715 virtual olc::rcode ThreadStartUp() override { return olc::rcode::OK; }
6716
6717 virtual olc::rcode ThreadCleanUp() override
6718 {
6719 renderer->DestroyDevice();
6720 PostMessage(olc_hWnd, WM_DESTROY, 0, 0);
6721 return olc::OK;
6722 }
6723
6724 virtual olc::rcode CreateGraphics(bool bFullScreen, bool bEnableVSYNC, const olc::vi2d& vViewPos, const olc::vi2d& vViewSize) override
6725 {

Callers

nothing calls this directly

Calls 1

DestroyDeviceMethod · 0.45

Tested by

no test coverage detected