mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 09:40:06 +00:00
(sdl_gfx.c) Style nit
This commit is contained in:
parent
66b6129e98
commit
83584c84f8
@ -361,11 +361,11 @@ static bool sdl_gfx_frame(void *data, const void *frame, unsigned width,
|
|||||||
if (!frame)
|
if (!frame)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
sdl_update_scaler(vid->screen, &vid->scaler, vid->scaler.in_fmt, width, height, pitch);
|
|
||||||
|
|
||||||
if (SDL_MUSTLOCK(vid->screen))
|
if (SDL_MUSTLOCK(vid->screen))
|
||||||
SDL_LockSurface(vid->screen);
|
SDL_LockSurface(vid->screen);
|
||||||
|
|
||||||
|
sdl_update_scaler(vid->screen, &vid->scaler, vid->scaler.in_fmt, width, height, pitch);
|
||||||
|
|
||||||
rarch_perf_init(&sdl_scale, "sdl_scale");
|
rarch_perf_init(&sdl_scale, "sdl_scale");
|
||||||
retro_perf_start(&sdl_scale);
|
retro_perf_start(&sdl_scale);
|
||||||
scaler_ctx_scale(&vid->scaler, vid->screen->pixels, frame);
|
scaler_ctx_scale(&vid->scaler, vid->screen->pixels, frame);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user