mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-28 01:28:51 +01:00
set dithering to rgb555 instead of rgb565 as it seems the screen only supports rgb555
Signed-off-by: Vincent-FK <vincent.buso@funkey-project.com>
This commit is contained in:
parent
2eb437708d
commit
574ab1ae30
@ -398,7 +398,8 @@ void SDL::ditherSurface32bppTo16Bpp(SDL_Surface * src_surface){
|
||||
g_old = GET_G_32BIT(cur_px);
|
||||
b_old = GET_B_32BIT(cur_px);
|
||||
r_new = CLOSEST_RB(r_old);
|
||||
g_new = CLOSEST_G(g_old);
|
||||
//g_new = CLOSEST_G(g_old);
|
||||
g_new = CLOSEST_RB(g_old); //RGB555
|
||||
b_new = CLOSEST_RB(b_old);
|
||||
|
||||
/* Set new pixel value */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user