Don't forget that if your in SDL mode you can't use the methods Delfi has provided, instead you have to use SDL_SaveBMP()

So, I've set my code up so that it checks a global InOpenGL flag and then calls the proper storage routine