summaryrefslogtreecommitdiff
path: root/plugins/peopsxgl/draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/peopsxgl/draw.c')
-rwxr-xr-xplugins/peopsxgl/draw.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/peopsxgl/draw.c b/plugins/peopsxgl/draw.c
index c3fed1cf..922145f0 100755
--- a/plugins/peopsxgl/draw.c
+++ b/plugins/peopsxgl/draw.c
@@ -1005,8 +1005,6 @@ BOOL offsetline(unsigned int* addr)
else py= 0.0f;
}
}
-
- PGXP_GetVertices(addr, vertex);
vertex[0].x=(short)((float)x0-px);
vertex[3].x=(short)((float)x0+py);
@@ -1020,6 +1018,9 @@ BOOL offsetline(unsigned int* addr)
vertex[1].y=(short)((float)y1+px);
vertex[2].y=(short)((float)y1+py);
+
+ PGXP_GetVertices(addr, vertex);
+
if(vertex[0].x==vertex[3].x && // ortho rect? done
vertex[1].x==vertex[2].x &&
vertex[0].y==vertex[1].y &&