[Scummvm-devel] Getting rid of auto dirty rects (Gob, Kyra, Saga

Johannes Schickel lordhoto at gmail.com
Thu Dec 4 13:43:13 CET 2008


Max Horn schrieb:
> Hi folks,
>
> I would really like to get rid o the bugged dirty rect code in the SDL  
> (and GP2x) backend. To get an idea of why this is bugged, read <https://sourceforge.net/tracker2/?func=detail&aid=1538880&group_id=37116&atid=418820 
>  >.
>
> Grepping for kFeatureAutoComputeDirtyRects shows that only Gob, Kyra  
> and SAGA seem to be using this anyway:
>   
Actually KYRA only disables that flag :-). As you can see in the code below:

> ./engines/kyra/screen.cpp:      _system->setFeatureState(OSystem::kFeatureAutoComputeDirtyRects, false);
So for KYRA it wouldn't make any difference at all I guess.

// Johannes




More information about the Scummvm-devel mailing list