mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
Add OSX Gl is linked to this libray by default on OSX
This commit is contained in:
parent
f585b94829
commit
c4ebca5a20
@ -13,7 +13,7 @@
|
||||
// directly into Panda.
|
||||
#define COMPONENT_LIBS \
|
||||
glgsg glxdisplay \
|
||||
wgldisplay
|
||||
wgldisplay osxdisplay
|
||||
#endif
|
||||
|
||||
#define LOCAL_LIBS gsgbase display express
|
||||
|
@ -13,6 +13,11 @@
|
||||
|
||||
#endif // LINK_IN_GL
|
||||
|
||||
|
||||
#ifdef IS_OSX
|
||||
#include "config_osxdisplay.h"
|
||||
#endif
|
||||
|
||||
// By including checkPandaVersion.h, we guarantee that runtime
|
||||
// attempts to load libpandagl.so/.dll will fail if they inadvertently
|
||||
// link with the wrong version of libdtool.so/.dll.
|
||||
@ -35,4 +40,10 @@ init_libpandagl() {
|
||||
init_libwgldisplay();
|
||||
#endif // HAVE_GL
|
||||
#endif // LINK_IN_GL
|
||||
|
||||
|
||||
#ifdef IS_OSX
|
||||
init_libosxdisplay();
|
||||
#endif
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user