mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 01:50:10 +01:00
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:
parent
d1dd36a74e
commit
4a379f7637
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue