mirror of
https://github.com/microsoft/DirectXTex
synced 2024-11-14 08:31:05 +00:00
Fixed more uninit issues with HDRColorA
This commit is contained in:
parent
5e675e01a2
commit
5004dd770c
@ -505,10 +505,12 @@ namespace
|
||||
ColorC.r = ColorA.r * g_LuminanceInv.r;
|
||||
ColorC.g = ColorA.g * g_LuminanceInv.g;
|
||||
ColorC.b = ColorA.b * g_LuminanceInv.b;
|
||||
ColorC.a = ColorA.a;
|
||||
|
||||
ColorD.r = ColorB.r * g_LuminanceInv.r;
|
||||
ColorD.g = ColorB.g * g_LuminanceInv.g;
|
||||
ColorD.b = ColorB.b * g_LuminanceInv.b;
|
||||
ColorD.a = ColorB.a;
|
||||
}
|
||||
|
||||
uint16_t wColorA = Encode565(&ColorC);
|
||||
|
Loading…
Reference in New Issue
Block a user