Группа :: Система/Библиотеки
Пакет: qt4
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: qt-4.2.0-rc1-alt-fix-gl-loading.patch
--- qt-x11-opensource-src-4.2.0-rc1/src/opengl/qglpixelbuffer_x11.cpp~ 2006-08-31 19:26:56 +0400
+++ qt-x11-opensource-src-4.2.0-rc1/src/opengl/qglpixelbuffer_x11.cpp 2006-10-03 15:04:04 +0400
@@ -75,7 +75,7 @@ static bool qt_resolve_pbuffer_extension
else if (resolved)
return false;
- QLibrary gl(QLatin1String("GL"));
+ QLibrary gl(QLatin1String("GL.so.1"));
qt_glXChooseFBConfig = (_glXChooseFBConfig) gl.resolve("glXChooseFBConfig");
qt_glXCreateNewContext = (_glXCreateNewContext) gl.resolve("glXCreateNewContext");
qt_glXCreatePbuffer = (_glXCreatePbuffer) gl.resolve("glXCreatePbuffer");
--- qt-x11-opensource-src-4.2.0-rc1/src/opengl/qgl_x11.cpp~ 2006-08-31 19:26:57 +0400
+++ qt-x11-opensource-src-4.2.0-rc1/src/opengl/qgl_x11.cpp 2006-10-03 15:03:39 +0400
@@ -890,7 +890,7 @@ void *QGLContext::getProcAddress(const Q
if (!glXGetProcAddressARB) {
QString glxExt = QString(QLatin1String(glXGetClientString(QX11Info::display(), GLX_EXTENSIONS)));
if (glxExt.contains(QLatin1String("GLX_ARB_get_proc_address"))) {
- QLibrary lib(QLatin1String("GL"));
+ QLibrary lib(QLatin1String("GL.so.1"));
glXGetProcAddressARB = (qt_glXGetProcAddressARB) lib.resolve("glXGetProcAddressARB");
}
resolved = true;