Merged r3044:3045 from branches/SDL-1.2: directfb reported screen size fix.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 04 Jun 2007 11:17:46 +0000
changeset 2113 6264c973814a
parent 2112 024af473e643
child 2114 4794e6f90feb
Merged r3044:3045 from branches/SDL-1.2: directfb reported screen size fix.
src/video/directfb/SDL_DirectFB_video.c
--- a/src/video/directfb/SDL_DirectFB_video.c	Mon Jun 04 11:08:25 2007 +0000
+++ b/src/video/directfb/SDL_DirectFB_video.c	Mon Jun 04 11:17:46 2007 +0000
@@ -453,6 +453,8 @@
     this->info.blit_hw_A = 1;
     this->info.blit_fill = 1;
     this->info.video_mem = caps.video_memory / 1024;
+    this->info.current_w = dlc.width;
+    this->info.current_h = dlc.height;
 
     HIDDEN->initialized = 1;
     HIDDEN->dfb = dfb;