# HG changeset patch # User Ryan C. Gordon # Date 1180955866 0 # Node ID 6264c973814adc66a6db360e41969c2ce5acbd58 # Parent 024af473e643acd7e1c1d9506f49329401b2fa6b Merged r3044:3045 from branches/SDL-1.2: directfb reported screen size fix. diff -r 024af473e643 -r 6264c973814a src/video/directfb/SDL_DirectFB_video.c --- 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;