glx: fix build with APPLEGL
fixes: 1eab7e69e2
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8885
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22621>
This commit is contained in:
@@ -812,11 +812,12 @@ AllocAndFetchScreenConfigs(Display * dpy, struct glx_display * priv)
|
||||
psc = priv->driswDisplay->createScreen(i, priv);
|
||||
#endif /* GLX_DIRECT_RENDERING && !GLX_USE_APPLEGL */
|
||||
|
||||
bool indirect = false;
|
||||
|
||||
#if defined(GLX_USE_APPLEGL)
|
||||
if (psc == NULL)
|
||||
psc = applegl_create_screen(i, priv);
|
||||
#else
|
||||
bool indirect = false;
|
||||
if (psc == NULL)
|
||||
{
|
||||
psc = indirect_create_screen(i, priv);
|
||||
|
Reference in New Issue
Block a user