Skip to content

Commit 8f23633

Browse files
committed
Make screen buffer format based on windows pixel format
1 parent f8f5c8a commit 8f23633

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/render/psp/SDL_render_psp.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,8 +1062,7 @@ static int PSP_CreateRenderer(SDL_Renderer *renderer, SDL_Window *window, Uint32
10621062
// flush cache so that no stray data remains
10631063
sceKernelDcacheWritebackAll();
10641064

1065-
// Forcing for now using GU_PSM_4444
1066-
data->drawBufferFormat = GU_PSM_4444;
1065+
data->drawBufferFormat = pixelFormatToPSPFMT(SDL_GetWindowPixelFormat(window));;
10671066
data->currentDrawBufferFormat = data->drawBufferFormat;
10681067

10691068
/* Specific GU init */

0 commit comments

Comments
 (0)