diff options
author | Moonchild <moonchild@palemoon.org> | 2021-11-16 19:04:14 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-04-04 22:08:36 +0200 |
commit | 124a5a8eb7e4413d112b76d3034eeda57ed83429 (patch) | |
tree | e373d7ff66d50eef484b13eab24e80640177ff6d | |
parent | a9376e01cb3ebfa3c979fd5ab7bdfb6c1e0ed96d (diff) | |
download | uxp-124a5a8eb7e4413d112b76d3034eeda57ed83429.tar.gz |
Issue #457 - Fix double -> float warning in gfxUtils.
-rw-r--r-- | gfx/thebes/gfxUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/thebes/gfxUtils.cpp b/gfx/thebes/gfxUtils.cpp index adc48b972f..5348a1b30f 100644 --- a/gfx/thebes/gfxUtils.cpp +++ b/gfx/thebes/gfxUtils.cpp @@ -483,7 +483,7 @@ PrescaleAndTileDrawable(gfxDrawable* aDrawable, { gfxSize scaleFactor = aContext->CurrentMatrix().ScaleFactors(true); gfxMatrix scaleMatrix = gfxMatrix::Scaling(scaleFactor.width, scaleFactor.height); - const float fuzzFactor = 0.01; + const float fuzzFactor = 0.01f; // If we aren't scaling or translating, don't go down this path if ((FuzzyEqual(scaleFactor.width, 1.0, fuzzFactor) && |