From 8d84245218a406d86e37e16fa916084319a18667 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 4 Jun 2007 11:17:46 +0000 Subject: [PATCH] Merged r3044:3045 from branches/SDL-1.2: directfb reported screen size fix. --- src/video/directfb/SDL_DirectFB_video.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/video/directfb/SDL_DirectFB_video.c b/src/video/directfb/SDL_DirectFB_video.c index 2c350dc64..1722790aa 100644 --- a/src/video/directfb/SDL_DirectFB_video.c +++ b/src/video/directfb/SDL_DirectFB_video.c @@ -453,6 +453,8 @@ 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;