From 7cc39c21f00f6afa145040cd4862155dca8d8ab7 Mon Sep 17 00:00:00 2001 From: NicJA Date: Mon, 27 Mar 2017 04:15:50 +0000 Subject: [PATCH] part revert. after discussing with Georg it seems to be correct to leave it with the layer/offset into the layer. git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@54307 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- rom/hyperlayers/dohookcliprects.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/rom/hyperlayers/dohookcliprects.c b/rom/hyperlayers/dohookcliprects.c index ed99f069a4..b10eb52a8a 100644 --- a/rom/hyperlayers/dohookcliprects.c +++ b/rom/hyperlayers/dohookcliprects.c @@ -1,5 +1,5 @@ /* - Copyright © 1995-2007, The AROS Development Team. All rights reserved. + Copyright © 1995-2017, The AROS Development Team. All rights reserved. $Id$ Desc: @@ -196,14 +196,7 @@ bounds.MaxX += ALIGN_OFFSET(CR->bounds.MinX); bounds.MaxY -= CR->bounds.MinY; - offsetX += L->bounds.MinX; - offsetX -= CR->bounds.MinX; - offsetX += ALIGN_OFFSET(CR->bounds.MinX); - offsetY += L->bounds.MinY; - offsetY -= CR->bounds.MinY; - rport->BitMap = CR->BitMap; - rport->Layer = NULL; } _CallLayerHook(hook, rport, rport->Layer, &bounds, offsetX, offsetY, LayersBase); rport->BitMap = bm; -- 2.11.4.GIT