mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00:00
TextureConversionShader: Don't use the float specifier in shader code.
This commit is contained in:
parent
6c82469662
commit
35a270d2a8
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue