SHA256
1
0
forked from pool/Mesa

- Mesa_indirect_old_xserver_compatibility.diff (revival)

Workaround for enabling indirect rendering to older Xservers
  (bnc #469280, bnc #600672).

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=106
This commit is contained in:
Stefan Dirsch 2010-05-22 14:04:03 +00:00 committed by Git OBS Bridge
parent ac0ae1f801
commit dcbea1b936
3 changed files with 23 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat May 22 16:00:55 CEST 2010 - sndirsch@suse.de
- Mesa_indirect_old_xserver_compatibility.diff (revival)
Workaround for enabling indirect rendering to older Xservers
(bnc #469280, bnc #600672).
-------------------------------------------------------------------
Sat Apr 10 22:03:00 CEST 2010 - sndirsch@suse.de

View File

@ -47,7 +47,7 @@ Source5: drirc
Patch1: dri_driver_dir.diff
# to be upstreamed
Patch8: egl-buildfix.diff
# from Mesa 7.8 branch
Patch9: Mesa_indirect_old_xserver_compatibility.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -116,6 +116,7 @@ rm -f include/GL/{glut.h,uglglutshapes.h,glutf90.h}
sed -i 's/REPLACE/%_lib/g' src/glx/Makefile
sed -i 's/REPLACE/%_lib/g' src/egl/drivers/dri2/Makefile
%patch8
%patch9 -p0
%build

View File

@ -0,0 +1,14 @@
--- src/glx/glxext.c.orig 2010-05-22 15:57:21.000000000 +0200
+++ src/glx/glxext.c 2010-05-22 15:57:37.000000000 +0200
@@ -820,9 +820,11 @@ __glXInitialize(Display * dpy)
dpyPriv->dri2Display = dri2CreateDisplay(dpy);
dpyPriv->driDisplay = driCreateDisplay(dpy);
}
+#if 0
if (glx_direct)
dpyPriv->driswDisplay = driswCreateDisplay(dpy);
#endif
+#endif
if (!AllocAndFetchScreenConfigs(dpy, dpyPriv)) {
__glXUnlock();