00001 // Filename: pandagl.cxx 00002 // Created by: drose (15May00) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 00006 #include "pandagl.h" 00007 00008 #ifndef LINK_IN_GL 00009 #include <config_glgsg.h> 00010 // Temporarily commented out for development on wgldisplay 00011 /* 00012 #ifdef HAVE_WGL 00013 #include <config_wgldisplay.h> 00014 #endif 00015 */ 00016 #endif 00017 00018 //////////////////////////////////////////////////////////////////// 00019 // Function: init_libpandagl 00020 // Description: Initializes the library. This must be called at 00021 // least once before any of the functions or classes in 00022 // this library can be used. Normally it will be 00023 // called by the static initializers and need not be 00024 // called explicitly, but special cases exist. 00025 //////////////////////////////////////////////////////////////////// 00026 void 00027 init_libpandagl() { 00028 #ifndef LINK_IN_GL 00029 init_libglgsg(); 00030 // Temporarily commented out for development on wgldisplay 00031 /* 00032 #ifdef HAVE_WGL 00033 init_libwgldisplay(); 00034 #endif 00035 */ 00036 #endif 00037 }