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

Function GetDrawingEngine

src/openrct2/drawing/NewDrawing.cpp:37–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37static IDrawingEngine* GetDrawingEngine()
38{
39 IDrawingEngine* result = nullptr;
40 auto context = GetContext();
41 if (context != nullptr)
42 {
43 result = context->GetDrawingEngine();
44 }
45 return result;
46}
47
48bool DrawingEngineRequiresNewWindow(DrawingEngine srcEngine, DrawingEngine dstEngine)
49{

Callers 5

DrawingEngineSetVSyncFunction · 0.85
GfxSetDirtyBlocksFunction · 0.85
ScreenshotDumpFunction · 0.85

Calls 2

GetContextFunction · 0.85
GetDrawingEngineMethod · 0.80

Tested by

no test coverage detected