mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-18 19:52:21 +00:00
unifdef -B -DRENDER to always include RENDER code
This patch was created with: git ls-files '*.[ch]' | while read f; do unifdef -B -DRENDER -o $f $f; done Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
b3ab978df8
commit
28b7b2b8d0
55 changed files with 1 additions and 289 deletions
|
|
@ -26,10 +26,8 @@
|
|||
|
||||
#include "xfixesint.h"
|
||||
#include "scrnintstr.h"
|
||||
#ifdef RENDER
|
||||
#include <picturestr.h>
|
||||
extern int RenderErrBase;
|
||||
#endif
|
||||
#include <regionstr.h>
|
||||
#include <gcstruct.h>
|
||||
#include <window.h>
|
||||
|
|
@ -265,7 +263,6 @@ SProcXFixesCreateRegionFromGC (ClientPtr client)
|
|||
int
|
||||
ProcXFixesCreateRegionFromPicture (ClientPtr client)
|
||||
{
|
||||
#ifdef RENDER
|
||||
RegionPtr pRegion;
|
||||
PicturePtr pPicture;
|
||||
REQUEST (xXFixesCreateRegionFromPictureReq);
|
||||
|
|
@ -296,9 +293,6 @@ ProcXFixesCreateRegionFromPicture (ClientPtr client)
|
|||
return BadAlloc;
|
||||
|
||||
return(client->noClientException);
|
||||
#else
|
||||
return BadRequest;
|
||||
#endif
|
||||
}
|
||||
|
||||
int
|
||||
|
|
@ -769,7 +763,6 @@ SProcXFixesSetWindowShapeRegion (ClientPtr client)
|
|||
int
|
||||
ProcXFixesSetPictureClipRegion (ClientPtr client)
|
||||
{
|
||||
#ifdef RENDER
|
||||
PicturePtr pPicture;
|
||||
RegionPtr pRegion;
|
||||
ScreenPtr pScreen;
|
||||
|
|
@ -785,9 +778,6 @@ ProcXFixesSetPictureClipRegion (ClientPtr client)
|
|||
|
||||
return SetPictureClipRegion (pPicture, stuff->xOrigin, stuff->yOrigin,
|
||||
pRegion);
|
||||
#else
|
||||
return BadRequest;
|
||||
#endif
|
||||
}
|
||||
|
||||
int
|
||||
|
|
|
|||
Loading…
Reference in a new issue