From 5a63271f0ea2fd2bb7aa866c85ca80a03992ef92 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Mon, 6 Feb 2023 21:58:03 +0100 Subject: [PATCH] Fix openGl overlay colors --- rpcs3/Emu/RSX/Program/GLSLSnippets/OverlayRenderFS.glsl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rpcs3/Emu/RSX/Program/GLSLSnippets/OverlayRenderFS.glsl b/rpcs3/Emu/RSX/Program/GLSLSnippets/OverlayRenderFS.glsl index 7ac6c0a694..0bfc5eda9a 100644 --- a/rpcs3/Emu/RSX/Program/GLSLSnippets/OverlayRenderFS.glsl +++ b/rpcs3/Emu/RSX/Program/GLSLSnippets/OverlayRenderFS.glsl @@ -138,7 +138,11 @@ void main() ocol = texture(fs1, vec3(tc0.x, fract(tc0.y), trunc(tc0.y))).rrrr * diff_color; break; case SAMPLER_MODE_TEXTURE2D: +#ifdef VULKAN ocol = sample_image(fs0, tc0, blur_intensity).bgra * diff_color; +#else + ocol = sample_image(fs0, tc0, blur_intensity).rgba * diff_color; +#endif break; } }