diff src/video/directfb/SDL_DirectFB_video.c @ 3951:e1e525d96838 SDL-1.2

Patch to allow DirectFB target to report a correct screen size. Fixes Bugzilla #399.
author Ryan C. Gordon <icculus@icculus.org>
date Mon, 04 Jun 2007 11:15:58 +0000
parents 402d5ff1cf88
children a1b03ba2fcd0
line wrap: on
line diff
--- a/src/video/directfb/SDL_DirectFB_video.c	Mon Jun 04 11:06:48 2007 +0000
+++ b/src/video/directfb/SDL_DirectFB_video.c	Mon Jun 04 11:15:58 2007 +0000
@@ -460,6 +460,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;