Stefan Dirsch
f72bdc5d3e
0002-glx-fix-some-indentation.patch, 0003-glx-add-an-implicit-param-to-createScreen.patch, 0004-glx-pass-implicit-load-param-through-allocation.patch, 0005-dri-plumb-a-implicit-param-through-createNewScreen-i.patch, 0006-gbm-plumb-an-implicit-param-through-device-creation.patch, 0007-frontends-dri-plumb-an-implicit-param-through-screen.patch, 0008-pipe-loader-plumb-a-flag-for-implicit-driver-load-th.patch, 0009-zink-don-t-print-error-messages-when-failing-an-impl.patch * get rid of error message: 'MESA: error: ZINK: vkEnumeratePhysicalDevices failed (VK_ERROR_INITIALIZATION_FAILED)' [gitlab mesa issue #10802] OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1273
35 lines
1.2 KiB
Diff
35 lines
1.2 KiB
Diff
From 647f6a7e123726d306440d54a22880e67ab31aa8 Mon Sep 17 00:00:00 2001
|
|
From: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
|
|
Date: Tue, 12 Mar 2024 09:20:25 -0400
|
|
Subject: [PATCH 2/9] glx: fix some indentation
|
|
|
|
ifdefs are hard
|
|
---
|
|
src/glx/glxext.c | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
Index: mesa-24.0.3/src/glx/glxext.c
|
|
===================================================================
|
|
--- mesa-24.0.3.orig/src/glx/glxext.c
|
|
+++ mesa-24.0.3/src/glx/glxext.c
|
|
@@ -786,16 +786,16 @@ AllocAndFetchScreenConfigs(Display * dpy
|
|
psc = priv->dri3Display->createScreen(i, priv);
|
|
#endif /* HAVE_DRI3 */
|
|
if (psc == NULL && priv->dri2Display)
|
|
- psc = priv->dri2Display->createScreen(i, priv);
|
|
+ psc = priv->dri2Display->createScreen(i, priv);
|
|
#endif /* GLX_USE_DRM */
|
|
|
|
#ifdef GLX_USE_WINDOWSGL
|
|
if (psc == NULL && priv->windowsdriDisplay)
|
|
- psc = priv->windowsdriDisplay->createScreen(i, priv);
|
|
+ psc = priv->windowsdriDisplay->createScreen(i, priv);
|
|
#endif
|
|
|
|
if (psc == NULL && priv->driswDisplay)
|
|
- psc = priv->driswDisplay->createScreen(i, priv);
|
|
+ psc = priv->driswDisplay->createScreen(i, priv);
|
|
#endif /* GLX_DIRECT_RENDERING && !GLX_USE_APPLEGL */
|
|
|
|
bool indirect = false;
|