mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
TextureConversionShader: Don't use the float specifier in shader code.
This commit is contained in:
@ -158,7 +158,7 @@ static void WriteSampleColor(char*& p, const char* colorComp, const char* dest,
|
||||
|
||||
// Handle D3D depth inversion.
|
||||
if (depth)
|
||||
WRITE(p, " %s = 1.0f - %s;\n", dest, dest);
|
||||
WRITE(p, " %s = 1.0 - %s;\n", dest, dest);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user