Drawable Renderer (#1570), [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2023-07-05 14:08:42 +00:00
committed by Bart Louwers
parent 8b814fe769
commit 220d4af7d1

View File

@@ -76,7 +76,7 @@ public:
size_t stride() const { return channels * size.width; }
size_t bytes() const { return stride() * size.height; }
void fill(uint8_t value) {
void fill(uint8_t value) {
if (valid()) {
assert(bytes());
std::fill(data.get(), data.get() + bytes(), value);