diff --git a/gfx/ext.c b/gfx/ext.c index 41f4ad67d2..2522a59972 100644 --- a/gfx/ext.c +++ b/gfx/ext.c @@ -233,7 +233,7 @@ static bool setup_video(ext_t *ext, const video_info_t *video, const input_drive .aspect_ratio = g_settings.video.aspect_ratio, .smooth = video->smooth, .input_scale = video->input_scale, - .color_format = video->rgb32 ? SSNES_COLOR_FORMAT_ARGB8888 : SSNES_COLOR_FORMAT_XRGB1555, + .color_format = video->rgb32 ? SSNES_COLOR_FORMAT_RGBA8888 : SSNES_COLOR_FORMAT_XRGB1555, .xml_shader = g_settings.video.bsnes_shader_path, .cg_shader = g_settings.video.cg_shader_path, .ttf_font = *g_settings.video.font_path ? g_settings.video.font_path : NULL, diff --git a/gfx/ext/ssnes_video.h b/gfx/ext/ssnes_video.h index 8f447d256b..4fba822c5f 100644 --- a/gfx/ext/ssnes_video.h +++ b/gfx/ext/ssnes_video.h @@ -44,7 +44,7 @@ extern "C" { #endif #define SSNES_COLOR_FORMAT_XRGB1555 0 -#define SSNES_COLOR_FORMAT_ARGB8888 1 +#define SSNES_COLOR_FORMAT_RGBA8888 1 typedef struct ssnes_video_info { @@ -90,7 +90,7 @@ typedef struct ssnes_video_info // Defines the coloring format used of the input frame. // XRGB1555 format is 16-bit and has byte ordering: 0RRRRRGGGGGBBBBB, // in native endian. - // ARGB8888 is AAAAAAAARRRRRRRRGGGGGGGGBBBBBBBB, native endian. + // RGBA8888 is RRRRRRRRGGGGGGGGBBBBBBBBAAAAAAAA, native endian. // Alpha channel should be disregarded. int color_format;