kopia lustrzana https://github.com/pimoroni/pimoroni-pico
PicoGraphics: Fix P8 buffer size.
rodzic
1b68e498d4
commit
ce9aa019ec
|
@ -62,7 +62,7 @@ namespace pimoroni {
|
|||
row_buf[x] = cache[src[bounds.w * y + x]];
|
||||
}
|
||||
// Callback to the driver with the row data
|
||||
callback(row_buf, bounds.w * sizeof(RGB565));
|
||||
callback(row_buf, bounds.w * sizeof(uint8_t));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue