Skip to content

Commit

Permalink
Patch to allow DirectFB target to report a correct screen size.
Browse files Browse the repository at this point in the history
   Fixes Bugzilla #399.
  • Loading branch information
icculus committed Jun 4, 2007
1 parent cc5bb94 commit 646069e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/video/directfb/SDL_DirectFB_video.c
Expand Up @@ -460,6 +460,8 @@ int DirectFB_VideoInit(_THIS, SDL_PixelFormat *vformat)
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;
Expand Down

0 comments on commit 646069e

Please sign in to comment.