TextureConversionShader: Don't use the float specifier in shader code.
This commit is contained in:
parent
6c82469662
commit
35a270d2a8
|
@ -158,7 +158,7 @@ static void WriteSampleColor(char*& p, const char* colorComp, const char* dest,
|
||||||
|
|
||||||
// Handle D3D depth inversion.
|
// Handle D3D depth inversion.
|
||||||
if (depth)
|
if (depth)
|
||||||
WRITE(p, " %s = 1.0f - %s;\n", dest, dest);
|
WRITE(p, " %s = 1.0 - %s;\n", dest, dest);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue