| 1013 | } |
| 1014 | |
| 1015 | static void drawAllAttachedStructs(const Gfx::RenderTarget& rt, Gfx::DrawingContext& drawingCtx, const PaintStruct& ps, const Ui::ViewportFlags viewFlags) |
| 1016 | { |
| 1017 | for (const auto* attachPs = ps.attachedPS; attachPs != nullptr; attachPs = attachPs->next) |
| 1018 | { |
| 1019 | const bool shouldCullAttach = shouldTryCullPaintStruct(ps, viewFlags); |
| 1020 | if (shouldCullAttach) |
| 1021 | { |
| 1022 | if (cullPaintStructImage(attachPs->imageId, viewFlags)) |
| 1023 | { |
| 1024 | continue; |
| 1025 | } |
| 1026 | } |
| 1027 | drawAttachStruct(rt, drawingCtx, ps, *attachPs, shouldCullAttach); |
| 1028 | } |
| 1029 | } |
| 1030 | |
| 1031 | // 0x0045EA23 |
| 1032 | void PaintSession::drawStructs(Gfx::DrawingContext& drawingCtx) |
no test coverage detected