[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[4]: [paragui-users] SDL_QUIT
From: |
taurus |
Subject: |
Re[4]: [paragui-users] SDL_QUIT |
Date: |
Tue, 13 Aug 2002 22:10:14 +0100 |
Hello Andrew,
Saturday, August 10, 2002, 23:34:34, you wrote:
AF> If you saw Sam Latinga's post on the SDL mailing list,
AF> your problem might be a memory error. You can get
AF> these things happening if you use paragui improperly.
AF> Static child widgets are a no-no, and when you make a
AF> widget a child of another, the parent takes ownership.
AF> Does this help any?
Well, I`ve found something strange...
If I have an array of SDL_Surface* and want to replace one element
like:
CArray <SDL_Surface*, SDL_Surface*> ar;
...
SDL_Surface * p = ar.GetAt(i);
ar.SetAt(i,newp);
>> SDL_FreeSurface(p);
...
SDL_Quit();
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?
Kind regards,
taurus
address@hidden
->> "If you will have a megaphone, you will never have to be alone..."
- [paragui-users] Set font size in label, Roger D. Vargas, 2002/08/08
- [paragui-users] SDL_QUIT, taurus, 2002/08/10
- Re: [paragui-users] SDL_QUIT, Andrew Ford, 2002/08/10
- Re[2]: [paragui-users] SDL_QUIT, taurus, 2002/08/10
- Re: Re[2]: [paragui-users] SDL_QUIT, Andrew Ford, 2002/08/10
- Re: Re[2]: [paragui-users] SDL_QUIT, Andrew Ford, 2002/08/10
- Re[4]: [paragui-users] SDL_QUIT,
taurus <=
- Re: Re[4]: [paragui-users] SDL_QUIT, Andrew Ford, 2002/08/13
- [paragui-users] OpenGL + Widgets, Dinand Vanvelzen, 2002/08/14
- Re: [paragui-users] OpenGL + Widgets, Andrew Ford, 2002/08/14
- Re: [paragui-users] OpenGL + Widgets, Teunis Peters, 2002/08/15
- Re: [paragui-users] OpenGL + Widgets, Andrew Ford, 2002/08/15
- RE: [paragui-users] OpenGL + Widgets, Dinand Vanvelzen, 2002/08/16
- RE: [paragui-users] OpenGL + Widgets, Teunis Peters, 2002/08/19
- RE: [paragui-users] OpenGL + Widgets, Dinand Vanvelzen, 2002/08/19
Re: [paragui-users] SDL_QUIT, Eric Ross, 2002/08/17