mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 22:04:36 +00:00
[OS/2] Bug 420438: Enable better image scaling on OS/2, r=wuno@lsvw, a1.9b4=beltzner
This commit is contained in:
parent
f270904496
commit
cdeb9ccbe5
@ -538,7 +538,7 @@ nsThebesImage::Draw(nsIRenderingContext &aContext,
|
||||
|
||||
pat->SetMatrix(mat);
|
||||
|
||||
#if !defined(XP_MACOSX) && !defined(XP_WIN)
|
||||
#if !defined(XP_MACOSX) && !defined(XP_WIN) && !defined(XP_OS2)
|
||||
// See bug 324698. This is a workaround.
|
||||
//
|
||||
// Set the filter to CAIRO_FILTER_FAST if we're scaling up -- otherwise,
|
||||
@ -551,7 +551,7 @@ nsThebesImage::Draw(nsIRenderingContext &aContext,
|
||||
pat->SetFilter(0);
|
||||
#endif
|
||||
|
||||
#if defined(XP_WIN)
|
||||
#if defined(XP_WIN) || defined(XP_OS2)
|
||||
// turn on EXTEND_PAD only for win32, and only when scaling;
|
||||
// it's not implemented correctly on linux in the X server.
|
||||
if (xscale != 1.0 || yscale != 1.0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user