summaryrefslogtreecommitdiff
path: root/Bob.c
diff options
context:
space:
mode:
authorChristian A. Weber <chris@gna.ch>2020-06-22 17:20:28 +0000
committerChristian A. Weber <chris@gna.ch>2020-06-22 17:20:28 +0000
commit277cd4a8bad85d78f2b0d187f840a6f8dbef30df (patch)
tree53eb6eede28e33a7e1a40f0294ed078cd6669b4b /Bob.c
parent5fa8be9e4cd2567c5cc235c17d5c58d17484823b (diff)
downloadbobi-277cd4a8bad85d78f2b0d187f840a6f8dbef30df.tar.gz
bobi-277cd4a8bad85d78f2b0d187f840a6f8dbef30df.tar.bz2
bobi-277cd4a8bad85d78f2b0d187f840a6f8dbef30df.zip
Add WaitBlit() after BltBitMap*
Diffstat (limited to 'Bob.c')
-rw-r--r--Bob.c5
1 files changed, 2 insertions, 3 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!");