# HG changeset patch # User Ryan C. Gordon # Date 1180955758 0 # Node ID e1e525d96838b0157f607c141a6e334f78929aa7 # Parent 9d9e15ab169796f070ff69e855b5773f2976ab8b Patch to allow DirectFB target to report a correct screen size. Fixes Bugzilla #399. diff -r 9d9e15ab1697 -r e1e525d96838 src/video/directfb/SDL_DirectFB_video.c --- 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;