Hi,
I just tested SDL_ListModes() with the example code from
http://sdldoc.csn.ul.ie/sdllistmodes.php
and SDL segfaults in that function.
I’m using Mandrake 8.1 with libSDL-1.2.3 from cooker,
several targets (x11,dga,fbcon)
Sorry, have no debug version of the library yet.
Greets,
Stephan
Stephan Goetter wrote:
Hi,
I just tested SDL_ListModes() with the example code from
http://sdldoc.csn.ul.ie/sdllistmodes.php
and SDL segfaults in that function.
I’m using Mandrake 8.1 with libSDL-1.2.3 from cooker,
several targets (x11,dga,fbcon)
Sorry, have no debug version of the library yet.
Greets,
Stephan
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
you have to add “SDL_Init(SDL_INIT_VIDEO);” before you call the other SDL_functions…–
-==-
Jon Atkins
http://jonatkins.org/
Stephan Goetter wrote:
I just tested SDL_ListModes() with the example code from
http://sdldoc.csn.ul.ie/sdllistmodes.php
and SDL segfaults in that function.
Can we have a complete testcase please?
Am Samstag 19 Januar 2002 18:00 schrieben Sie:
Stephan Goetter <@Stephan_Goetter> wrote:
I just tested SDL_ListModes() with the example code from
http://sdldoc.csn.ul.ie/sdllistmodes.php
and SDL segfaults in that function.
Can we have a complete testcase please?
Hmm, I think no. I shouldn’t call SDL_Quit() before SDL_ListModes() I think.
Sorry!
Stephan (core dumped)