Mercurial > sdl-ios-xcode
comparison src/video/directfb/SDL_DirectFB_video.c @ 3951:e1e525d96838 SDL-1.2
Patch to allow DirectFB target to report a correct screen size.
Fixes Bugzilla #399.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Mon, 04 Jun 2007 11:15:58 +0000 |
parents | 402d5ff1cf88 |
children | a1b03ba2fcd0 |
comparison
equal
deleted
inserted
replaced
3950:9d9e15ab1697 | 3951:e1e525d96838 |
---|---|
458 this->info.blit_hw = 1; | 458 this->info.blit_hw = 1; |
459 this->info.blit_hw_CC = 1; | 459 this->info.blit_hw_CC = 1; |
460 this->info.blit_hw_A = 1; | 460 this->info.blit_hw_A = 1; |
461 this->info.blit_fill = 1; | 461 this->info.blit_fill = 1; |
462 this->info.video_mem = caps.video_memory / 1024; | 462 this->info.video_mem = caps.video_memory / 1024; |
463 this->info.current_w = dlc.width; | |
464 this->info.current_h = dlc.height; | |
463 | 465 |
464 HIDDEN->initialized = 1; | 466 HIDDEN->initialized = 1; |
465 HIDDEN->dfb = dfb; | 467 HIDDEN->dfb = dfb; |
466 HIDDEN->layer = layer; | 468 HIDDEN->layer = layer; |
467 HIDDEN->eventbuffer = events; | 469 HIDDEN->eventbuffer = events; |