We only really require GLX 1.3. Also fixed version check to be more appropriate.

master
Zachary Lund 2014-02-08 02:52:55 -06:00
parent 9a2b662935
commit cd9c4b39d0
1 changed files with 3 additions and 3 deletions

View File

@ -131,14 +131,14 @@ struct gl_platform *gl_platform_create(device_t device,
goto fail0;
}
/* We require glX version 1.4 */
/* We require glX version 1.3 */
{
int major = 0, minor = 0;
glXQueryVersion(display, &major, &minor);
if (major < 1 || minor < 4) {
if (major < 1 || (major == 1 && minor < 3)) {
blog(LOG_ERROR, "GLX version found: %i.%i\nRequired: "
"1.4", major, minor);
"1.3", major, minor);
goto fail0;
}
}