Hi,
i just downloaded and installed the prerelease.
I’m on a Linux system, x86-based, german distribution SuSE 9.3
with additional software installed, graphics card is NVidia
GeForce 4MX (or MX4 ?).
Iconfigured with:
./configure --prefix=/usr
sdl-config --version shows 1.2.10.
I can confirm that the modes are listed only once now.
But sadly the program that i write at the moment dies with a
"Speicherzugriffsfehler" (what is this in english, bus error?).
It does not crash immediately, but when exiting, something
seems to go wrong.
Quite in the beginning i do:
atexit(exit_func);
#define QWE fprintf(stderr, “File %s, Line %i\n”, FILE, LINE)
static void exit_func(void) {
QWE;
SDL_Quit();
QWE;
}
At shutdown i get:
File ui_sdl/ui_sdl.c, Line 112
File ui_sdl/ui_sdl.c, Line 114
./qwe: line 4: 30749 Speicherzugriffsfehler db_sdl
“qwe” is just a script that starts the program, nothing special.
Is there anything that i can do to track this further down?
Best regards,
Torsten.> > Hi,
when i display the values filled in from SDL_ListModes()
there are several “doubles” in there, i guess because
these resolutions are available in several video formats?
Is that assumption correct?
Is there a way for me to get the actual video format that
SDL can use for a certain resolution?
E.g. when “1024x768” is returned three times, what are the
video modes i can use with this resolution?
This is actually a bug, resolutions are supposed to be listed once.
SDL 1.3 will support multiple refresh rates, which is where these
duplicated modes are coming from.
Can you check to make sure this is fixed in the SDL 1.2.10 prelease
snapshot?
http://www.libsdl.org/tmp/SDL-1.2.10.tar.gz
Thanks!
-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl