splash: force pixel format to RGB565 when loading the bitmap
This commit is contained in:
committed by
Peter Feerick
parent
ba814db38a
commit
0d3b2c027b
@@ -62,7 +62,7 @@ void drawSplash()
|
||||
// try splash from SD card first
|
||||
if (loadSplashImg && splashImg == nullptr) {
|
||||
if (!sdMounted()) sdInit();
|
||||
splashImg = BitmapBuffer::loadBitmap(BITMAPS_PATH "/" SPLASH_FILE);
|
||||
splashImg = BitmapBuffer::loadBitmap(BITMAPS_PATH "/" SPLASH_FILE, BMP_RGB565);
|
||||
loadSplashImg = false;
|
||||
|
||||
if (splashImg == nullptr) {
|
||||
|
||||
Vendored
+1
-1
Submodule radio/src/thirdparty/libopenui updated: 23ea4e0dd9...321a58f3cb
Reference in New Issue
Block a user