mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-20 19:54:19 +01:00
[d3d11] Fix min luminance of HDR Metadata
This should be a multiply instead of a divide. Values are 1/10000th of a nit (0.0001 nit).
This commit is contained in:
parent
cae0a1cef3
commit
f30376a1e4
@ -32,7 +32,7 @@ namespace dxvk {
|
||||
}
|
||||
|
||||
static float ConvertMinLuminance(UINT dxgiLuminance) {
|
||||
return float(dxgiLuminance) / 0.0001f;
|
||||
return float(dxgiLuminance) * 0.0001f;
|
||||
}
|
||||
|
||||
static float ConvertLevel(UINT16 dxgiLevel) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user