Page 1 of 1

What is faster

PostPosted: Apr 2, 2004 @ 9:25pm
by Rouli
Hi !
I'd like to display a character looking to the right if he goes right and left if not ... no more complex thatn that:

is that faster to create 2 surfaces (lookingLeft and lookingRight) and display them with a bltfast ? or to mirror a unique surface with a blt ??

PostPosted: Apr 3, 2004 @ 12:30am
by ruis
BltFast is always faster than Blt. If memory is critical, you could go for the mirrored blit, but the BltFast is a better option if you are looking for optimal performance.

//Erik