1
0
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:
Chuck Walbourn 2018-06-29 10:26:57 -07:00
parent 5e675e01a2
commit 5004dd770c

View File

@ -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);