mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
Fix openGl overlay colors
This commit is contained in:
parent
9a35684507
commit
5a63271f0e
@ -138,7 +138,11 @@ void main()
|
|||||||
ocol = texture(fs1, vec3(tc0.x, fract(tc0.y), trunc(tc0.y))).rrrr * diff_color;
|
ocol = texture(fs1, vec3(tc0.x, fract(tc0.y), trunc(tc0.y))).rrrr * diff_color;
|
||||||
break;
|
break;
|
||||||
case SAMPLER_MODE_TEXTURE2D:
|
case SAMPLER_MODE_TEXTURE2D:
|
||||||
|
#ifdef VULKAN
|
||||||
ocol = sample_image(fs0, tc0, blur_intensity).bgra * diff_color;
|
ocol = sample_image(fs0, tc0, blur_intensity).bgra * diff_color;
|
||||||
|
#else
|
||||||
|
ocol = sample_image(fs0, tc0, blur_intensity).rgba * diff_color;
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user