Increase length on a surface

G’day Cross-maker,

As far as I understand it, it depends on how you are creating your surface. If, for example, you’re making a surface through Load_BMP(), the surface that’s created is IIRC only as big as the actual original bitmap. Blitting anything outside that space doesn’t increase the surface size, it just gets ignored.

If you needs a surface that’s bigger than just the size of the one used to load the bitmap, the only thing I can think of is to create one manually with the required size, and then blit the surface returned by Load_BMP() into it… and then do whatever other blitting you need to do into that other surface as well.

If, OTOH, you’ve already got another surface that’s big enough to use and your second blit just isn’t showing up on it, I got no ideas other than check alpha channel or things like that…

-J