MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / popRenderTarget

Method popRenderTarget

src/OpenLoco/src/Graphics/SoftwareDrawingContext.cpp:1118–1127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1116 }
1117
1118 void SoftwareDrawingContext::popRenderTarget()
1119 {
1120 // Should not be empty before pop.
1121 assert(_state->rtStack.empty() == false);
1122
1123 _state->rtStack.pop();
1124
1125 // Should not be empty after pop
1126 assert(_state->rtStack.empty() == false);
1127 }
1128
1129 const RenderTarget& SoftwareDrawingContext::currentRenderTarget() const
1130 {

Callers 15

drawStationNamesFunction · 0.80
drawTownNamesFunction · 0.80
drawRoutingNumbersFunction · 0.80
saveGiantScreenshotFunction · 0.80
drawSingleFunction · 0.80
drawMethod · 0.80
drawBackgroundMethod · 0.80
drawFunction · 0.80
drawScrollFunction · 0.80
drawPreviewImageFunction · 0.80
drawDescriptionFunction · 0.80
drawDatDetailsFunction · 0.80

Calls 2

popMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected