mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-12 10:57:16 +00:00
Remove early return in scaler_ctx_scale to avoid performance
regression
This commit is contained in:
parent
8e0d1ed70f
commit
4c707e9e00
@ -224,9 +224,6 @@ void scaler_ctx_gen_reset(struct scaler_ctx *ctx)
|
||||
void scaler_ctx_scale(struct scaler_ctx *ctx,
|
||||
void *output, const void *input)
|
||||
{
|
||||
if (!ctx)
|
||||
return;
|
||||
|
||||
if (ctx->unscaled)
|
||||
{
|
||||
/* Just perform straight pixel conversion. */
|
||||
|
Loading…
Reference in New Issue
Block a user