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 21136264c973814a
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
     1.1 --- a/src/video/directfb/SDL_DirectFB_video.c	Mon Jun 04 11:08:25 2007 +0000
     1.2 +++ b/src/video/directfb/SDL_DirectFB_video.c	Mon Jun 04 11:17:46 2007 +0000
     1.3 @@ -453,6 +453,8 @@
     1.4      this->info.blit_hw_A = 1;
     1.5      this->info.blit_fill = 1;
     1.6      this->info.video_mem = caps.video_memory / 1024;
     1.7 +    this->info.current_w = dlc.width;
     1.8 +    this->info.current_h = dlc.height;
     1.9  
    1.10      HIDDEN->initialized = 1;
    1.11      HIDDEN->dfb = dfb;