As the subject said, when I setvideomode using SDL_OPENGL, I end up with 4
less megs when my program closes than when I started. I’ve done some
digging around the source code, but damned if I could see any obvious leaks.
What I’ve discovered so far is that even after freeing the surface AND
calling sdl_quit, wglGetCurrentContext still reports that a gl context is
active. If I delete it manually, I still end up with a 3 meg leak.
I did notice a couple of ToDo’s in sdl_video.c that indicated some surfaces
needed freeing, but only when SDL_OPENGLBLIT is specified. That’s all I can
come up with. Anyone else seen this?