aboutsummaryrefslogtreecommitdiff
path: root/xorg-server
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-01-17 19:10:46 +0000
committermarha <marha@users.sourceforge.net>2011-01-17 19:10:46 +0000
commit4deb3279e3107fc2396d05160a21b90fc389765f (patch)
treed3f1f0a658d7265327d308d14c4e96751a86effe /xorg-server
parent132e30bb74d8fd11d7d501927ffcc02676dff2a5 (diff)
downloadvcxsrv-4deb3279e3107fc2396d05160a21b90fc389765f.tar.gz
vcxsrv-4deb3279e3107fc2396d05160a21b90fc389765f.tar.bz2
vcxsrv-4deb3279e3107fc2396d05160a21b90fc389765f.zip
Use winUpdateFBPointer() in winshaddd.c rather than duplicating it inline
Diffstat (limited to 'xorg-server')
-rw-r--r--xorg-server/hw/xwin/winshaddd.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/xorg-server/hw/xwin/winshaddd.c b/xorg-server/hw/xwin/winshaddd.c
index da2e8ebee..3247b2e83 100644
--- a/xorg-server/hw/xwin/winshaddd.c
+++ b/xorg-server/hw/xwin/winshaddd.c
@@ -616,22 +616,7 @@ winShadowUpdateDD (ScreenPtr pScreen,
"%s file to " BUILDERADDR "\n", g_pszLogFile);
/* Location of shadow framebuffer has changed */
- pScreenInfo->pfb = pScreenPriv->pddsdShadow->lpSurface;
-
- /* Update the screen pixmap */
- if (!(*pScreen->ModifyPixmapHeader)(pScreen->devPrivate,
- pScreen->width,
- pScreen->height,
- pScreen->rootDepth,
- BitsPerPixel (pScreen->rootDepth),
- PixmapBytePad (pScreenInfo->dwStride,
- pScreenInfo->dwBPP),
- pScreenInfo->pfb))
- {
- ErrorF ("winShadowUpdateDD - Bits changed, could not "
- "notify fb.\n");
- return;
- }
+ winUpdateFBPointer(pScreen, pScreenPriv->pddsdShadow->lpSurface);
}
}