Commit bbea62b8 authored by Ryan C. Gordon's avatar Ryan C. Gordon

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
parent 3ed9f2bf
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment