mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 06:59:37 +08:00
18 lines
1011 B
Diff
18 lines
1011 B
Diff
|
diff --git a/src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/lab_color_space.h b/src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/lab_color_space.h
|
||
|
index 78c316e04..fdb0312e0 100644
|
||
|
--- a/src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/lab_color_space.h
|
||
|
+++ b/src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/lab_color_space.h
|
||
|
@@ -138,9 +138,9 @@ class LABColorSpace {
|
||
|
clamp(lab.Z(), -128.0f, 128.0f)};
|
||
|
|
||
|
return {
|
||
|
- invf((v.X() + 16.0f) / 116.0f + (v.Y() * 0.002f)) * kIlluminantD50.X(),
|
||
|
- invf((v.X() + 16.0f) / 116.0f) * kIlluminantD50.Y(),
|
||
|
- invf((v.X() + 16.0f) / 116.0f - (v.Z() * 0.005f)) * kIlluminantD50.Z()};
|
||
|
+ (float)(invf((v.X() + 16.0f) / 116.0f + (v.Y() * 0.002f)) * kIlluminantD50.X()),
|
||
|
+ (float)(invf((v.X() + 16.0f) / 116.0f) * kIlluminantD50.Y()),
|
||
|
+ (float)(invf((v.X() + 16.0f) / 116.0f - (v.Z() * 0.005f)) * kIlluminantD50.Z())};
|
||
|
}
|
||
|
|
||
|
private:
|