rnd-20030126-2-src
[rocksndiamonds.git] / src / libgame / msdos.c
index 29cc036028c7981817f400fa1f6e40037a342974..9cd4ddcc6f0a162998437fe8527348195c8fddcb 100644 (file)
@@ -917,6 +917,14 @@ Pixel AllegroGetPixel(Drawable d, int x, int y)
   return getpixel((BITMAP *)d, x, y);
 }
 
+void AllegroZoomBitmap(Drawable src, Drawable dst,
+                      int src_width, int src_height,
+                      int dst_width, int dst_height)
+{
+  stretch_blit((BITMAP *)src, (BITMAP *)dst,
+              0, 0, src_width, src_height, 0, 0, dst_width, dst_height);
+}
+
 void MSDOSOpenAudio(void)
 {
   if (allegro_init_audio())