[SDL] Re: SDL_FULLSCREEN memory leakage

Jason Robertson dead_alive2002 at yahoo.com
Mon Oct 14 17:24:01 PDT 2002


SDL_BUGS..


A couple of dreadful bugs I found while trying to make
a simple fullscreen
window under windows ME (but Im sure it all happens in
all other windows..) 
and while running various SDL demos I found on the
web.


SDL_FULLSCREEN
Huge memory leakage/eats up a big chunk of memory when
it loses focus 
while in fullscreen mode..
minimizing and returning to fullscreen a mere 7 times
will deplete all
system resources and crash my pc.. 
The memory seems to return if you exit the app before
that happens,
 but this is still bad!

Notes:
Ive tried everything! there is no way around it
besides switching to DirectX,
or not using the SDL_FULLSCREEN flag within windows..
which is pretty lame.
You cant really release a professional game that will
run on windows without this..
(well not a fullscreen one anyway..)
And Im sure you know SDL_WM_ToggleFullscreen doesnt
work in windows.. (why not?!)


Icons 
(just a little bug)
Iconifying the window with SDL_WM_IconifyWindow() will
not display the loaded icon
when in fullscreen mode.
Notes:
a workaround that seems to work for me is to change to
windowed mode
 before calling this function..



I really hope this will get fixed in the new version
of SDL.. !
I dont know why SDL is moving on to dreamcast and Ps2
when it doesnt even work
 in windows yet!!! 

__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com




More information about the SDL mailing list