mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-17 15:15:45 -04:00
Resources: Fix crt-lottes under Direct3D
And add additional builtin shaders.
This commit is contained in:
@ -133,7 +133,7 @@ float3 ToLinear(float3 c)
|
||||
}
|
||||
float3 ToSrgb(float3 c)
|
||||
{
|
||||
return pow(c, float3(1.0 / 2.2));
|
||||
return pow(c, float3(1.0 / 2.2, 1.0 / 2.2, 1.0 / 2.2));
|
||||
}
|
||||
#else
|
||||
float ToLinear1(float c)
|
||||
|
Reference in New Issue
Block a user