diff options
Diffstat (limited to 'xorg/server/module/rdpGlyphs.c')
-rw-r--r-- | xorg/server/module/rdpGlyphs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xorg/server/module/rdpGlyphs.c b/xorg/server/module/rdpGlyphs.c index 3a222e79..fc2d347b 100644 --- a/xorg/server/module/rdpGlyphs.c +++ b/xorg/server/module/rdpGlyphs.c @@ -37,6 +37,7 @@ gylph(font) calls #include "rdp.h" #include "rdpGlyphs.h" +#include "rdpDraw.h" /******************************************************************************/ #define LOG_LEVEL 1 @@ -66,13 +67,11 @@ rdpGlyphs(CARD8 op, PicturePtr pSrc, PicturePtr pDst, { ScreenPtr pScreen; rdpPtr dev; - ScrnInfoPtr pScrn; PictureScreenPtr ps; LLOGLN(10, ("rdpGlyphs:")); pScreen = pSrc->pDrawable->pScreen; - pScrn = xf86Screens[pScreen->myNum]; - dev = XRDPPTR(pScrn); + dev = rdpGetDevFromScreen(pScreen); ps = GetPictureScreen(pScreen); rdpGlyphsOrg(ps, dev, op, pSrc, pDst, maskFormat, xSrc, ySrc, nlists, lists, glyphs); |