Hi,
Here is a small suggestion. Add a CopyFrom(source) function to surface that simply copy the source surface to the destination surface, if both are the same size.
Of course I can use BltFast() for this, but the above call wouldn't need extra parameters and be much more intuitive, IMO.
I know, I know, I'm lazy. But I find that I use lots of BltFast() that just copy one surface to another and specifying parameters that are never used is such a waste...
Thanks!
--Eric
Here is a small suggestion. Add a CopyFrom(source) function to surface that simply copy the source surface to the destination surface, if both are the same size.
- Code:
//
DestSurface->CopyFrom(SourceSurface);
//
Of course I can use BltFast() for this, but the above call wouldn't need extra parameters and be much more intuitive, IMO.
I know, I know, I'm lazy. But I find that I use lots of BltFast() that just copy one surface to another and specifying parameters that are never used is such a waste...
Thanks!
--Eric