diff src/video/directfb/SDL_DirectFB_video.c @ 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 c121d94672cb
children 0e70b4b8cf84
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;