mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-26 09:41:15 +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)
|
||||
return true;
|
||||
|
||||
sdl_update_scaler(vid->screen, &vid->scaler, vid->scaler.in_fmt, width, height, pitch);
|
||||
|
||||
if (SDL_MUSTLOCK(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");
|
||||
retro_perf_start(&sdl_scale);
|
||||
scaler_ctx_scale(&vid->scaler, vid->screen->pixels, frame);
|
||||
|
Loading…
Reference in New Issue
Block a user