[Scummvm-devel] Bitdepth/pixel format API concerns

Johannes Schickel lordhoto at gmail.com
Sun Jun 14 20:49:23 CEST 2009


Marcus Comstedt wrote:
> Hm, regarding the case where the backend _does_ implement
> transactions, what happens if there is a change of pixel
> format and a copyRectToScreen() in the same transaction?
> Or is that not allowed?
>
>   

As far as I know only screen setup functionality is allowed to be used 
in a transaction. The SDL backend has an assert, which checks that no 
transaction is active in copyRectToScreen for example.

// Johannes




More information about the Scummvm-devel mailing list