mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-03-05 08:50:36 +01:00
XQuartz: Call setVisualConfigs in InitOutput, and only when GLXEXT is defined.
This commit is contained in:
parent
190a3d5e5d
commit
97173d4eda
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();
|
||||
|
||||
setVisualConfigs();
|
||||
|
||||
// machine independent screen init
|
||||
// setup _Screen structure in pScreen
|
||||
if (monitorResolution)
|
||||
|
|
@ -602,6 +600,10 @@ void InitOutput( ScreenInfo *pScreenInfo, int argc, char **argv )
|
|||
generation = serverGeneration;
|
||||
}
|
||||
|
||||
#ifdef GLXEXT
|
||||
setVisualConfigs();
|
||||
#endif
|
||||
|
||||
// Discover screens and do mode specific initialization
|
||||
QuartzInitOutput(argc, argv);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue