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

Function clearSingle

src/OpenLoco/src/Graphics/SoftwareDrawingContext.cpp:63–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 }
62
63 static void clearSingle(const RenderTarget& rt, uint8_t paletteId)
64 {
65 auto fill = (paletteId << 24) | (paletteId << 16) | (paletteId << 8) | paletteId;
66 clear(rt, fill);
67 }
68
69 static const G1Element* getNoiseMaskImageFromImage(const ImageId image)
70 {

Callers 1

clearSingleMethod · 0.85

Calls 1

clearFunction · 0.85

Tested by

no test coverage detected