summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2012-07-26 21:37:03 -0700
committerJay Sorg <jay.sorg@gmail.com>2012-07-26 21:37:03 -0700
commitfa0a7d597053fa50a42946520d5e48218024ea3c (patch)
tree2391bee3196c5d93e24c33e4f5f090d1f5f28eaf
parenteafef9cd092c7f22026ebfb3049b17ee21348e60 (diff)
downloadxrdp-proprietary-fa0a7d597053fa50a42946520d5e48218024ea3c.tar.gz
xrdp-proprietary-fa0a7d597053fa50a42946520d5e48218024ea3c.zip
xorg: don't use jpeg for hints
-rw-r--r--xorg/X11R7.6/rdp/rdpdraw.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/xorg/X11R7.6/rdp/rdpdraw.c b/xorg/X11R7.6/rdp/rdpdraw.c
index 7cc7c66a..daa33c1d 100644
--- a/xorg/X11R7.6/rdp/rdpdraw.c
+++ b/xorg/X11R7.6/rdp/rdpdraw.c
@@ -889,10 +889,7 @@ rdpGlyphs(CARD8 op, PicturePtr pSrc, PicturePtr pDst,
LLOGLN(10, ("rdpGlyphs:"));
LLOGLN(10, ("rdpGlyphs: nlists %d len %d", nlists, lists->len));
- if (g_rdpScreen.client_info.jpeg)
- {
- rdpup_set_hints(1, 1);
- }
+ rdpup_set_hints(1, 1);
for (index = 0; index < lists->len; index++)
{
LLOGLN(10, (" index %d size %d refcnt %d width %d height %d",
@@ -904,9 +901,6 @@ rdpGlyphs(CARD8 op, PicturePtr pSrc, PicturePtr pDst,
ps->Glyphs(op, pSrc, pDst, maskFormat, xSrc, ySrc,
nlists, lists, glyphs);
ps->Glyphs = rdpGlyphs;
- if (g_rdpScreen.client_info.jpeg)
- {
- rdpup_set_hints(0, 1);
- }
+ rdpup_set_hints(0, 1);
LLOGLN(10, ("rdpGlyphs: out"));
}