Dynamically load the Xinerama and xf86vmode extensions

This fixes a few bugs with different distributions:
http://bugs.freedesktop.org/show_bug.cgi?id=17431
http://bugs.gentoo.org/show_bug.cgi?id=246177
This commit is contained in:
Sam Lantinga 2011-02-28 09:01:53 -08:00
parent e32b25be9e
commit 73b501d88c
31 changed files with 654 additions and 7156 deletions

View file

@ -609,7 +609,7 @@ gnome_screensaver_enable()
void
X11_SuspendScreenSaver(_THIS)
{
#if SDL_VIDEO_DRIVER_X11_SCRNSAVER
#if SDL_VIDEO_DRIVER_X11_XSCRNSAVER
SDL_VideoData *data = (SDL_VideoData *) _this->driverdata;
int dummy;
int major_version, minor_version;