Projects
openEuler:Mainline
libglvnd
_service:tar_scm:backport-0001-glx-Add-another-...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:backport-0001-glx-Add-another-fallback-library-name.patch of Package libglvnd
From 24606973bfabd75285fbd489264235167ba0f44c Mon Sep 17 00:00:00 2001 From: Adam Jackson <ajax@redhat.com> Date: Thu, 14 Jun 2018 11:25:21 -0400 Subject: [PATCH] glx: Add another fallback library name This is mostly to avoid file conflicts with external packaging. Signed-off-by: Adam Jackson <ajax@redhat.com> --- src/GLX/libglxmapping.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/GLX/libglxmapping.c b/src/GLX/libglxmapping.c index be384f8..2016a04 100644 --- a/src/GLX/libglxmapping.c +++ b/src/GLX/libglxmapping.c @@ -591,6 +591,10 @@ __GLXvendorInfo *__glXLookupVendorByScreen(Display *dpy, const int screen) vendor = __glXLookupVendorByName(FALLBACK_VENDOR_NAME); } + if (!vendor) { + vendor = __glXLookupVendorByName("system"); + } + dpyInfo->vendors[screen] = vendor; } __glvndPthreadFuncs.rwlock_unlock(&dpyInfo->vendorLock); -- 2.17.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2