Sam Lantinga schrieb am 20.01.2008 20:08:45:
Hello,
has someone a patch for all of these current widescreen video formats ?
What operating system
QNX 6.3
and video driver?
unknown … but here is a patch from Rodrigo Madruga / I-Park, Brazil:
This code replaces the lines 396 -400 of SDL_ph_video.c of version 1.2.13:
//Bug fix start
if (hwcaps.current_video_mode == 0)
{
PgDisplaySettings_t settings;
PgGetVideoMode(&settings);
if (PgGetVideoModeInfo(settings.mode, &desktop_mode) < 0)
{
SDL_SetError("ph_VideoInit(): PgGetVideoModeInfo function failed !\n");
this->FreeWMCursor(this, SDL_BlankCursor);
return -1;
}
desktop_mode.width = settings.xres;
desktop_mode.height = settings.yres;
}
else
{
if (PgGetVideoModeInfo(hwcaps.current_video_mode, &desktop_mode) < 0)
{
SDL_SetError(“ph_VideoInit(): PgGetVideoModeInfo function failed !\n”);
this->FreeWMCursor(this, SDL_BlankCursor);
return -1;
}
}
//Bug fix end
Best Regards
Armin> As far as I know, they’re all
available and supported… ?
-Sam Lantinga, Lead Software Engineer, Blizzard Entertainment
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066