diff options
Diffstat (limited to 'src/savage_image.c')
-rw-r--r-- | src/savage_image.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/savage_image.c b/src/savage_image.c index 9cf4f0f..9530bff 100644 --- a/src/savage_image.c +++ b/src/savage_image.c @@ -181,13 +181,11 @@ void SavageSubsequentImageWriteRect { SavagePtr psav = SAVPTR(pScrn); BCI_GET_PTR; - int count; - count = ((w * pScrn->bitsPerPixel + 31) / 32) * h; - psav->WaitQueue( psav, count ); + psav->WaitQueue( psav, 6 ); BCI_SEND(psav->SavedBciCmd); BCI_SEND(BCI_CLIP_LR(x+skipleft, x+w-1)); - if( psav->SavedBgColor != -1 ) + if( psav->SavedBgColor != 0xffffffff ) BCI_SEND(psav->SavedBgColor); BCI_SEND(BCI_X_Y(x, y)); BCI_SEND(BCI_W_H(w, h)); |