Skip to content
This repository has been archived by the owner on Jan 30, 2025. It is now read-only.

Commit

Permalink
Adjust SDL_RenderCopy call for the PSP version, #12
Browse files Browse the repository at this point in the history
  • Loading branch information
mupfdev committed Oct 19, 2022
1 parent 8fb570f commit 47cba57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdl20compat.inc.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ static void SDL_Flip(SDL_Surface* screen)
assert(sdl2_window != NULL);
SDL_UpdateTexture(sdl2_screen_tex, NULL, screen->pixels, screen->pitch);
SDL_SetRenderDrawColor(sdl2_rendr, 0, 0, 0, 255);
#if defined (__NGAGE__) || defined (NGAGE_DEBUG) || defined (__3DS__)
#if defined (__NGAGE__) || defined (NGAGE_DEBUG) || defined (__3DS__) || defined (__PSP__)
SDL_RenderCopy(sdl2_rendr, sdl2_screen_tex, &source, &dest);
#else
SDL_RenderCopy(sdl2_rendr, sdl2_screen_tex, NULL, NULL);
Expand Down

0 comments on commit 47cba57

Please sign in to comment.