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().
(cherry picked from commit eb3c014e1710bf0b93bda10ddb9b795cd150d02d)
This commit is contained in:
George Staplin 2008-10-06 18:05:12 -06:00 committed by Jeremy Huddleston
parent a8f5d422c9
commit 63abdf6115
2 changed files with 8 additions and 2 deletions

View File

@ -10,4 +10,6 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/miext/damage -I$(top_srcdir)/miext/damage
libCGLCore_la_SOURCES = \ libCGLCore_la_SOURCES = \
indirect.c indirect.c \
capabilities.c \
visualConfigs.c

View File

@ -75,6 +75,9 @@
#include "quartz.h" #include "quartz.h"
//#include "darwinClut8.h" //#include "darwinClut8.h"
#include "GL/visualConfigs.h"
#ifdef ENABLE_DEBUG_LOG #ifdef ENABLE_DEBUG_LOG
FILE *debug_log_fp = NULL; FILE *debug_log_fp = NULL;
#endif #endif
@ -179,7 +182,6 @@ static Bool DarwinSaveScreen(ScreenPtr pScreen, int on)
return TRUE; return TRUE;
} }
/* /*
* DarwinAddScreen * DarwinAddScreen
* This is a callback from dix during AddScreen() from InitOutput(). * This is a callback from dix during AddScreen() from InitOutput().
@ -226,6 +228,8 @@ 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)