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:
committed by
Bart Louwers
parent
8b814fe769
commit
220d4af7d1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user