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;
|