changeset 2113:6264c973814a

Merged r3044:3045 from branches/SDL-1.2: directfb reported screen size fix.
author Ryan C. Gordon <icculus@icculus.org>
date Mon, 04 Jun 2007 11:17:46 +0000
parents 024af473e643
children 4794e6f90feb
files src/video/directfb/SDL_DirectFB_video.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;