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

Method Resize

src/openrct2/drawing/X8DrawingEngine.cpp:141–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141void X8DrawingEngine::Resize(uint32_t width, uint32_t height)
142{
143 uint32_t pitch = width;
144 ConfigureBits(width, height, pitch);
145
146 _drawingContext->BeginDraw();
147 _drawingContext->Clear(_mainRT, PaletteIndex::pi10);
148 _drawingContext->EndDraw();
149}
150
151void X8DrawingEngine::SetPalette([[maybe_unused]] const GamePalette& palette)
152{

Callers 1

DrawingEngineResizeFunction · 0.45

Calls 3

BeginDrawMethod · 0.45
ClearMethod · 0.45
EndDrawMethod · 0.45

Tested by

no test coverage detected