summaryrefslogtreecommitdiff
path: root/gfx
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-11-16 19:04:14 +0000
committerMoonchild <moonchild@palemoon.org>2022-04-04 22:08:36 +0200
commit124a5a8eb7e4413d112b76d3034eeda57ed83429 (patch)
treee373d7ff66d50eef484b13eab24e80640177ff6d /gfx
parenta9376e01cb3ebfa3c979fd5ab7bdfb6c1e0ed96d (diff)
downloaduxp-124a5a8eb7e4413d112b76d3034eeda57ed83429.tar.gz
Issue #457 - Fix double -> float warning in gfxUtils.
Diffstat (limited to 'gfx')
-rw-r--r--gfx/thebes/gfxUtils.cpp2
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) &&