fixed re-initialization of textures after change of renderer
[rocksndiamonds.git] / src / libgame / system.c
index 40b1aaa47945aec040da5b9141441baf02a2abac..a52b4ec201da7e9f2403ed5e73bf0406442d9cde 100644 (file)
@@ -1190,6 +1190,11 @@ void CreateBitmapTextures(Bitmap **bitmaps)
   SDLCreateBitmapTextures(bitmaps[IMG_BITMAP_STANDARD]);
 }
 
   SDLCreateBitmapTextures(bitmaps[IMG_BITMAP_STANDARD]);
 }
 
+void FreeBitmapTextures(Bitmap **bitmaps)
+{
+  SDLFreeBitmapTextures(bitmaps[IMG_BITMAP_STANDARD]);
+}
+
 void ScaleBitmap(Bitmap **bitmaps, int zoom_factor)
 {
   CreateScaledBitmaps(bitmaps, zoom_factor, 0, FALSE);
 void ScaleBitmap(Bitmap **bitmaps, int zoom_factor)
 {
   CreateScaledBitmaps(bitmaps, zoom_factor, 0, FALSE);