MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / ReleaseRT

Function ReleaseRT

src/openrct2/interface/Screenshot.cpp:253–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251}
252
253static void ReleaseRT(RenderTarget& rt)
254{
255 if (rt.bits != nullptr)
256 delete[] rt.bits;
257 rt.bits = nullptr;
258 rt.width = 0;
259 rt.height = 0;
260}
261
262static Viewport GetGiantViewport(int32_t rotation, ZoomLevel zoom)
263{

Callers 3

ScreenshotGiantFunction · 0.85
CommandLineForScreenshotFunction · 0.85
CaptureImageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected