diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2019-10-28 22:31:10 +0100 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2020-01-05 22:37:36 +0100 |
commit | 1bd78de58aff68b6ad7758efdad2a73f731f0072 (patch) | |
tree | 743a4515cf94376421525c82c39cf600bdb9284b /nx-X11/programs | |
parent | 8b796ee54b2b750c81d987637e9fb2ef2f871c76 (diff) | |
download | nx-libs-1bd78de58aff68b6ad7758efdad2a73f731f0072.tar.gz nx-libs-1bd78de58aff68b6ad7758efdad2a73f731f0072.tar.bz2 nx-libs-1bd78de58aff68b6ad7758efdad2a73f731f0072.zip |
NXmitrap.c: mark NX changes
Diffstat (limited to 'nx-X11/programs')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/NXmitrap.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXmitrap.c b/nx-X11/programs/Xserver/hw/nxagent/NXmitrap.c index 1988ca102..08666a3f8 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/NXmitrap.c +++ b/nx-X11/programs/Xserver/hw/nxagent/NXmitrap.c @@ -80,6 +80,7 @@ miTrapezoids (CARD8 op, xDst = traps[0].left.p1.x >> 16; yDst = traps[0].left.p1.y >> 16; +#ifdef NXAGENT_SERVER if (nxagentTrapezoidExtents != NullBox) { memcpy(&bounds, nxagentTrapezoidExtents, sizeof(BoxRec)); @@ -92,7 +93,9 @@ miTrapezoids (CARD8 op, memcpy(nxagentTrapezoidExtents, &bounds, sizeof(BoxRec)); } - +#else + miTrapezoidBounds (ntrap, traps, &bounds); +#endif if (bounds.y1 >= bounds.y2 || bounds.x1 >= bounds.x2) return; pPicture = miCreateAlphaPicture (pScreen, pDst, maskFormat, |