From dd53be15ae7730084a645eb65d92bdfbd26e2da7 Mon Sep 17 00:00:00 2001 From: misson20000 Date: Tue, 6 Mar 2018 19:49:43 -0800 Subject: [PATCH] let scalers output in ABGR8888 --- libretro-common/gfx/scaler/scaler.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libretro-common/gfx/scaler/scaler.c b/libretro-common/gfx/scaler/scaler.c index eb0a0e429f..24b2d0c919 100644 --- a/libretro-common/gfx/scaler/scaler.c +++ b/libretro-common/gfx/scaler/scaler.c @@ -239,6 +239,10 @@ bool scaler_ctx_gen_filter(struct scaler_ctx *ctx) ctx->out_pixconv = conv_argb8888_bgr24; break; + case SCALER_FMT_ABGR8888: + ctx->out_pixconv = conv_argb8888_abgr8888; + break; + default: return false; }