[SDL] how to use multiple surfaces?
kylotan at kylotan.eidosnet.co.uk
Sun Mar 9 05:16:02 PST 2003
Tane Piper wrote:
> Basicly, when I try to draw the sEditor surface onto the screen by
> doing the FillRect, it causes the program to crash. Where am I
> going wrong with this?
FillRect doesn't draw a surface to the screen, and the sEditor surface
isn't even created at that point(assuming you haven't omitted important
code) - it's just a dangling pointer.
More information about the SDL