Editor at echo.ru
Tue Aug 13 14:19:01 PDT 2002
Saturday, August 10, 2002, 18:20:23, you wrote:
SL> This is often caused by memory problems in your program.
SL> Try using a debug memory allocation tool.
Well, I`ve found something strange...
If I have an array of SDL_Surface* and want to replace one element
CArray <SDL_Surface*, SDL_Surface*> ar;
SDL_Surface * p = ar.GetAt(i);
If I free the surface "p" by
"SDL_FreeSurface(p)", SDL_Quit will never finish, if I dont free
the surface, it`s ok.
What can it be?
Alexander mailto:Editor at echo.ru
More information about the SDL