I read somewhere that if you get a noisy green screen when exiting the application it means there are memory leaks.If that's true, it seems I don't have any, since (in normal conditions) my app exits as it should (in fact, I've been really careful about memory leaks). However, if I 'force it', that is if I try to close it as soon as it opens I get a green screen. I thought it might be a synchronization problem (either when loading a buffer from an external image file, or when rendering). Maybe someone could help me out with ways to fix this. It's not that big of a problem, but I'd rather see it gone. EDIT: I should also add that according to the log file my app produces, there are no leaks.