src/SDL_compat.c
changeset 2862 929e7dd10031
parent 2859 99210400e8b9
child 2872 762f0663c36a
--- a/src/SDL_compat.c	Wed Dec 10 08:39:00 2008 +0000
+++ b/src/SDL_compat.c	Fri Dec 12 06:46:20 2008 +0000
@@ -76,6 +76,8 @@
         SDL_PixelFormatEnumToMasks(mode.format, &bpp, &Rmask, &Gmask, &Bmask,
                                    &Amask);
         info.vfmt = SDL_AllocFormat(bpp, Rmask, Gmask, Bmask, Amask);
+        info.current_w = mode.w;
+        info.current_h = mode.h;
     }
     return &info;
 }