white space changes
[rocksndiamonds.git] / src / libgame / system.c
index e83df10bb1250a83e405380cd3189c77d8006bd4..37fe3a77cab0821c1bd30d4c8a5f07548aec3125 100644 (file)
@@ -624,7 +624,7 @@ Bitmap *CreateBitmap(int width, int height, int depth)
   int real_height = MAX(1, height);    // prevent zero bitmap height
   int real_depth  = GetRealDepth(depth);
 
-  SDLCreateBitmapContent(new_bitmap, real_width, real_height, real_depth);
+  new_bitmap->surface = SDLCreateNativeSurface(real_width, real_height, real_depth);
 
   new_bitmap->width  = real_width;
   new_bitmap->height = real_height;