X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Flibgame%2Fmsdos.c;h=53a0b08fe24e8d370bee631ddf8520b51f6f4990;hb=621b6a2c4781c9c3e2f5849f9c184a906e0ce5b6;hp=782369c1560a7291f5e4df8b48cce25ce0ff6a88;hpb=222cd4187e6632bd904a937f167a2f1c70b8f66d;p=rocksndiamonds.git diff --git a/src/libgame/msdos.c b/src/libgame/msdos.c index 782369c1..53a0b08f 100644 --- a/src/libgame/msdos.c +++ b/src/libgame/msdos.c @@ -442,7 +442,8 @@ Pixmap XCreatePixmap(Display *display, Drawable d, unsigned int width, BITMAP *bitmap = NULL; if (gfx_capabilities & GFX_HW_VRAM_BLIT && - width == video.scrollbuffer_width && height == video.scrollbuffer_height) + width == playfield.scrollbuffer_width && + height == playfield.scrollbuffer_height) bitmap = create_video_bitmap(width, height); if (bitmap == NULL)