mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-09 03:00:15 +01:00
XQuartz: GL: Add the new C code to the Makefile.am.
Commit the darwin.c changes I missed in the last commit, for calling setVisualConfigs().
This commit is contained in:
parent
fc86f9e448
commit
eb3c014e17
2 changed files with 8 additions and 2 deletions
|
|
@ -10,4 +10,6 @@ AM_CPPFLAGS = \
|
|||
-I$(top_srcdir)/miext/damage
|
||||
|
||||
libCGLCore_la_SOURCES = \
|
||||
indirect.c
|
||||
indirect.c \
|
||||
capabilities.c \
|
||||
visualConfigs.c
|
||||
|
|
|
|||
|
|
@ -77,6 +77,9 @@
|
|||
#include "quartz.h"
|
||||
//#include "darwinClut8.h"
|
||||
|
||||
#include "GL/visualConfigs.h"
|
||||
|
||||
|
||||
#ifdef ENABLE_DEBUG_LOG
|
||||
FILE *debug_log_fp = NULL;
|
||||
#endif
|
||||
|
|
@ -180,7 +183,6 @@ static Bool DarwinSaveScreen(ScreenPtr pScreen, int on)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* DarwinAddScreen
|
||||
* This is a callback from dix during AddScreen() from InitOutput().
|
||||
|
|
@ -227,6 +229,8 @@ static Bool DarwinAddScreen(int index, ScreenPtr pScreen, int argc, char **argv)
|
|||
|
||||
miSetPixmapDepths();
|
||||
|
||||
setVisualConfigs();
|
||||
|
||||
// machine independent screen init
|
||||
// setup _Screen structure in pScreen
|
||||
if (monitorResolution)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue