summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Bob.c5
-rw-r--r--Layer.c4
-rw-r--r--Rotate.c1
-rw-r--r--Zoom.c1
4 files changed, 6 insertions, 5 deletions
diff --git a/Bob.c b/Bob.c
index 910d0d7..5ceaba8 100644
--- a/Bob.c
+++ b/Bob.c
@@ -245,9 +245,8 @@ clearrect:
if(tmpmap=BobToBitMap(bob))
{
- BltBitMapRastPort(tmpmap,0,0,mainrastport,x0,y0,
- bob->Width,bob->Height,0xc0);
-
+ BltBitMapRastPort(tmpmap,0,0,mainrastport,x0,y0,bob->Width,bob->Height,0xc0);
+ WaitBlit();
MyFreeBitMap(tmpmap);
}
else ShowMonoReq2("Not enough memory to show bob!");
diff --git a/Layer.c b/Layer.c
index 0e56e1c..8a8239d 100644
--- a/Layer.c
+++ b/Layer.c
@@ -204,8 +204,8 @@ void DragBobFunc()
RectFill(mainrastport,xold-1,y+bob->Height,xold+bob->Width,yold+bob->Height);
WaitTOF();
- BltBitMapRastPort(tmpmap,0,0,mainrastport,x,y,
- bob->Width,bob->Height,0xc0);
+ BltBitMapRastPort(tmpmap,0,0,mainrastport,x,y,bob->Width,bob->Height,0xc0);
+ WaitBlit();
}
} while(looping);
mainwindow->Flags &= ~RMBTRAP;
diff --git a/Rotate.c b/Rotate.c
index b79f803..842640e 100644
--- a/Rotate.c
+++ b/Rotate.c
@@ -53,6 +53,7 @@ static void RotateBobs(register LONG numframes, register LONG totangle)
BltBitMap(sbim,0,0,dbim,(width-sbob->Width)/2,
(height-sbob->Height)/2,sbob->Width,sbob->Height,0xc0,0xff,0);
+ WaitBlit();
BitMapToByteMap(dbim,sbym);
for(i=numframes; i>0; --i)
{
diff --git a/Zoom.c b/Zoom.c
index eb0d9fc..cb4760b 100644
--- a/Zoom.c
+++ b/Zoom.c
@@ -62,6 +62,7 @@ static struct MyBob *ZoomBob(struct MyBob *bob,register LONG faktor)
{
BltBitMap(sbim,0,0,dbim,(width-bob->Width)/2,
(height-bob->Height)/2,bob->Width,bob->Height,0xc0,0xff,0);
+ WaitBlit();
ZoomBitMap(dbim,faktor);
bob=BitMapToBob(bob,dbim,width);
MyFreeBitMap(dbim);