From bbea62b8b92d2ab693e75a9ef14a22c1e326dcb7 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <icculus@icculus.org>
Date: Mon, 4 Jun 2007 11:17:46 +0000
Subject: [PATCH] Merged r3044:3045 from branches/SDL-1.2: directfb reported
 screen size fix.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402331
---
 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 2c350dc6..1722790a 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;
-- 
2.18.1