Merged r3044:3045 from branches/SDL-1.2: directfb reported screen size fix.

This commit is contained in:
Ryan C. Gordon 2007-06-04 11:17:46 +00:00
parent 0e6b088424
commit fd051d952d

View File

@ -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;