diff --git a/32blit-pico/board/pimoroni_picovision/config.h b/32blit-pico/board/pimoroni_picovision/config.h index 000c9195f..768280419 100644 --- a/32blit-pico/board/pimoroni_picovision/config.h +++ b/32blit-pico/board/pimoroni_picovision/config.h @@ -1,5 +1,7 @@ #pragma once +#define DEFAULT_SCREEN_FORMAT PixelFormat::BGR555 + // native #define SD_CLK 10 #define SD_CMD 11 diff --git a/32blit-pico/display_picovision.cpp b/32blit-pico/display_picovision.cpp index 3e3a38bc1..1843c4c60 100644 --- a/32blit-pico/display_picovision.cpp +++ b/32blit-pico/display_picovision.cpp @@ -212,7 +212,7 @@ static void blit_rgba_rgb555_picovision(const blit::Surface* src, uint32_t soff, flush_batch(); - if(src->format == blit::PixelFormat::RGB565) // still a lie + if(src->format == blit::PixelFormat::BGR555) return blit_rgb555((uint16_t *)s, dest, doff, cnt, src_step); do { @@ -422,7 +422,7 @@ bool display_render_needed() { } bool display_mode_supported(blit::ScreenMode new_mode, const blit::SurfaceTemplate &new_surf_template) { - if(new_surf_template.format != blit::PixelFormat::RGB565) // this is a lie + if(new_surf_template.format != blit::PixelFormat::BGR555) return false; if(find_resolution(new_surf_template.bounds) != -1)