rnd-20001203-3-src
[rocksndiamonds.git] / src / libgame / msdos.c
index a49148817ce28d1a3b79d368e9d7123fe6184024..b3137b4a5bc7ecc98eb20e536503e1614b6f205b 100644 (file)
@@ -442,8 +442,7 @@ Pixmap XCreatePixmap(Display *display, Drawable d, unsigned int width,
   BITMAP *bitmap = NULL;
 
   if (gfx_capabilities & GFX_HW_VRAM_BLIT &&
-      width  == playfield.scrollbuffer_width &&
-      height == playfield.scrollbuffer_height)
+      width  == gfx.scrollbuffer_width && height == gfx.scrollbuffer_height)
     bitmap = create_video_bitmap(width, height);
 
   if (bitmap == NULL)