diff options
-rw-r--r-- | Bob.c | 5 | ||||
-rw-r--r-- | Layer.c | 4 | ||||
-rw-r--r-- | Rotate.c | 1 | ||||
-rw-r--r-- | Zoom.c | 1 |
4 files changed, 6 insertions, 5 deletions
@@ -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!"); @@ -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; @@ -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) { @@ -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); |