mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 06:21:26 +12:00
Fix openGl overlay colors
This commit is contained in:
parent
9a35684507
commit
5a63271f0e
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue