kopia lustrzana https://github.com/pimoroni/pimoroni-pico
PicoGraphics: RGB565 skip layers if not enabled.
rodzic
8f7e8d4334
commit
48ee9fde66
|
@ -106,7 +106,7 @@ namespace pimoroni {
|
|||
|
||||
for(int x = 0; x < tile->w; x++) {
|
||||
uint16_t dest = *p_dest;
|
||||
if(dest == 0) {
|
||||
if(dest == 0 && this->layers > 1) {
|
||||
dest = *p_layer0;
|
||||
}
|
||||
uint8_t alpha = *p_alpha;
|
||||
|
|
Ładowanie…
Reference in New Issue