[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re[4]: [paragui-users] SDL_QUIT
From: |
Andrew Ford |
Subject: |
Re: Re[4]: [paragui-users] SDL_QUIT |
Date: |
Tue, 13 Aug 2002 17:09:44 -0700 (PDT) |
Beats the hell out of me. Sounds distinctly like a
problem with either your code or SDL.
Andrew
--- taurus <address@hidden> wrote:
> 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 mailing list
> address@hidden
>
http://mail.freesoftware.fsf.org/mailman/listinfo/paragui-users
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
- [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, 2002/08/13
- Re: Re[4]: [paragui-users] SDL_QUIT,
Andrew Ford <=
- [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