[Scummvm-devel] PORTERS: OSystem::clearScreen has been replaced by OSystem::fillScreen

Marcus Comstedt marcus at mc.pp.se
Sun Feb 15 23:52:03 CET 2009


Johannes Schickel <lordhoto at gmail.com> writes:

> Ok, so if you don't have anything against it I could remove it (when
> you don't want to do that on your own :-).

I'm fine with that.  While on the one hand "if it ain't broken, don't
fix it" is a good principle, this change appears safe and potentially
makes code maintenance easier.  It should also improve performance
by clearing less memory, although I doubt the difference will be
noticeable.  :-)


  // Marcus





More information about the Scummvm-devel mailing list