mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-07 10:58:19 +02:00
XQuartz: Call setVisualConfigs in InitOutput, and only when GLXEXT is defined.
(cherry picked from commit 97173d4eda)
This commit is contained in:
parent
e2655ab188
commit
3ea371c9e5
1 changed files with 4 additions and 2 deletions
|
|
@ -229,8 +229,6 @@ static Bool DarwinAddScreen(int index, ScreenPtr pScreen, int argc, char **argv)
|
||||||
|
|
||||||
miSetPixmapDepths();
|
miSetPixmapDepths();
|
||||||
|
|
||||||
setVisualConfigs();
|
|
||||||
|
|
||||||
// machine independent screen init
|
// machine independent screen init
|
||||||
// setup _Screen structure in pScreen
|
// setup _Screen structure in pScreen
|
||||||
if (monitorResolution)
|
if (monitorResolution)
|
||||||
|
|
@ -595,6 +593,10 @@ void InitOutput( ScreenInfo *pScreenInfo, int argc, char **argv )
|
||||||
for (i = 0; i < NUMFORMATS; i++)
|
for (i = 0; i < NUMFORMATS; i++)
|
||||||
pScreenInfo->formats[i] = formats[i];
|
pScreenInfo->formats[i] = formats[i];
|
||||||
|
|
||||||
|
#ifdef GLXEXT
|
||||||
|
setVisualConfigs();
|
||||||
|
#endif
|
||||||
|
|
||||||
// Discover screens and do mode specific initialization
|
// Discover screens and do mode specific initialization
|
||||||
QuartzInitOutput(argc, argv);
|
QuartzInitOutput(argc, argv);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue