(sdl_gfx.c) Style nit

This commit is contained in:
twinaphex 2016-05-04 04:45:46 +02:00
parent 66b6129e98
commit 83584c84f8

View File

@ -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);