From 0df4d55e036bfe3a988300a403aa858027d8dc6b Mon Sep 17 00:00:00 2001 From: xwt Date: Fri, 30 Jan 2004 07:40:19 +0000 Subject: [PATCH] 2003/10/28 23:41:29 darcs-hash:20040130074019-3ac31-a6b343d8462e41726ebec8bc2c2696f978e10971.gz --- src/org/xwt/plat/OpenGL.java | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/src/org/xwt/plat/OpenGL.java b/src/org/xwt/plat/OpenGL.java index 68ed8c1..359e17a 100644 --- a/src/org/xwt/plat/OpenGL.java +++ b/src/org/xwt/plat/OpenGL.java @@ -247,16 +247,9 @@ abstract class OpenGL { // *{x,y}{1,2} key: d=dest s=src, p=bounds of this picture, i=intersection of s and p, pd = dest of this pic for(int i=0;i= ix2 || iy1 >= iy2) continue; // no intersection - pics[i][j].draw(px1, py1, ix1, iy1, ix2, iy2); + int px1 = j*psize + dx; + int py1 = i*psize + dy; + pics[i][j].draw(px1, py1, cx1, cy1, cx2, cy2); } } } -- 1.7.10.4