mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Fixes our post processing shaders so they work under OpenGL ES 3.0
Most of our shaders relied on implicit int->float conversions. This fixes the assumption that this is allowed
This commit is contained in:
@ -13,7 +13,7 @@ void main()
|
||||
if (c0.r < 0.3 || c0.b > 0.5)
|
||||
{
|
||||
blue = c0.r + c0.b;
|
||||
red = c0.g + c0.b / 2;
|
||||
red = c0.g + c0.b / 2.0;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user