Commit 3900ba3f authored by Ulrich Sibiller's avatar Ulrich Sibiller

NXshm.c: remove left-overs from patch

format was broken, would not compile
parent b961e190
...@@ -387,8 +387,8 @@ ProcShmPutImage(client) ...@@ -387,8 +387,8 @@ ProcShmPutImage(client)
((stuff->format != ZPixmap) && ((stuff->format != ZPixmap) &&
(stuff->srcX < screenInfo.bitmapScanlinePad) && (stuff->srcX < screenInfo.bitmapScanlinePad) &&
((stuff->format == XYBitmap) || ((stuff->format == XYBitmap) ||
- ((stuff->srcY == 0) && ((stuff->srcY == 0) &&
- (stuff->srcHeight == stuff->totalHeight))))) && (stuff->srcHeight == stuff->totalHeight))))) &&
((stuff->srcX + stuff->srcWidth) == stuff->totalWidth)) ((stuff->srcX + stuff->srcWidth) == stuff->totalWidth))
(*pGC->ops->PutImage) (pDraw, pGC, stuff->depth, (*pGC->ops->PutImage) (pDraw, pGC, stuff->depth,
stuff->dstX, stuff->dstY, stuff->dstX, stuff->dstY,
...@@ -396,7 +396,7 @@ ProcShmPutImage(client) ...@@ -396,7 +396,7 @@ ProcShmPutImage(client)
stuff->srcX, stuff->format, stuff->srcX, stuff->format,
shmdesc->addr + stuff->offset + shmdesc->addr + stuff->offset +
(stuff->srcY * length)); (stuff->srcY * length));
- else else
#endif #endif
{ {
#ifdef TEST #ifdef TEST
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment