diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-25 19:29:01 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-25 19:29:01 +0000 |
commit | adc7f9a4ebdfe11d4cd6de9388b63dfe36450b39 (patch) | |
tree | 23eb7becc5360b2cbe16aa8d45529880067f3989 /hw/xnest/Pixmap.c | |
parent | 90f1536dd315cd265bfc7ef35058761a65a01734 (diff) |
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_16
Diffstat (limited to 'hw/xnest/Pixmap.c')
-rw-r--r-- | hw/xnest/Pixmap.c | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/hw/xnest/Pixmap.c b/hw/xnest/Pixmap.c index f93dcac52..b82dfa49b 100644 --- a/hw/xnest/Pixmap.c +++ b/hw/xnest/Pixmap.c @@ -12,11 +12,11 @@ the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. */ -/* $XFree86: xc/programs/Xserver/hw/xnest/Pixmap.c,v 3.6 2003/01/10 13:29:40 eich Exp $ */ +/* $XFree86: xc/programs/Xserver/hw/xnest/Pixmap.c,v 3.8 2003/11/16 05:05:20 dawes Exp $ */ #include "X.h" #include "Xproto.h" -#include "miscstruct.h" +#include "regionstr.h" #include "pixmapstr.h" #include "scrnintstr.h" #include "regionstr.h" @@ -34,11 +34,8 @@ is" without express or implied warranty. int xnestPixmapPrivateIndex; #endif -PixmapPtr xnestCreatePixmap(pScreen, width, height, depth) - ScreenPtr pScreen; - int width; - int height; - int depth; +PixmapPtr +xnestCreatePixmap(ScreenPtr pScreen, int width, int height, int depth) { PixmapPtr pPixmap; @@ -75,8 +72,8 @@ PixmapPtr xnestCreatePixmap(pScreen, width, height, depth) return pPixmap; } -Bool xnestDestroyPixmap(pPixmap) - PixmapPtr pPixmap; +Bool +xnestDestroyPixmap(PixmapPtr pPixmap) { if(--pPixmap->refcnt) return TRUE; @@ -85,8 +82,8 @@ Bool xnestDestroyPixmap(pPixmap) return TRUE; } -RegionPtr xnestPixmapToRegion(pPixmap) - PixmapPtr pPixmap; +RegionPtr +xnestPixmapToRegion(PixmapPtr pPixmap) { XImage *ximage; register RegionPtr pReg, pTmpReg; |