Browse Source

refinements for non-VR builders

David Rose 23 years ago
parent
commit
33c55ca32c
3 changed files with 4 additions and 4 deletions
  1. 2 2
      dtool/Config.pp
  2. 1 1
      panda/metalibs/pandadx/Sources.pp
  3. 1 1
      panda/metalibs/pandadx8/Sources.pp

+ 2 - 2
dtool/Config.pp

@@ -278,7 +278,7 @@
 // How about GLX?
 // How about GLX?
 #define GLX_IPATH
 #define GLX_IPATH
 #define GLX_LPATH
 #define GLX_LPATH
-#defer HAVE_GLX $[HAVE_GL]
+#defer HAVE_WGL $[and $[HAVE_GL],$[UNIX_PLATFORM]]
 
 
 // Glut?
 // Glut?
 #define GLUT_IPATH
 #define GLUT_IPATH
@@ -298,7 +298,7 @@
 #if $[WINDOWS_PLATFORM]
 #if $[WINDOWS_PLATFORM]
   #define DX_IPATH
   #define DX_IPATH
   #define DX_LPATH
   #define DX_LPATH
-  #define DX_LIBS ddraw.lib dxguid.lib
+  #define DX_LIBS d3d8.lib d3dx8.lib dxerr8.lib
   #defer HAVE_DX $[libtest $[DX_LPATH],$[DX_LIBS]]
   #defer HAVE_DX $[libtest $[DX_LPATH],$[DX_LIBS]]
 #endif
 #endif
 
 

+ 1 - 1
panda/metalibs/pandadx/Sources.pp

@@ -18,6 +18,6 @@
   #define TARGET pandadx7
   #define TARGET pandadx7
   #define SOURCES pandadx.cxx  
   #define SOURCES pandadx.cxx  
   #define WIN_SYS_LIBS \
   #define WIN_SYS_LIBS \
-     ddraw.lib d3dim.lib dxguid.lib winmm.lib \
+     ddraw.lib dxguid.lib winmm.lib \
      kernel32.lib gdi32.lib user32.lib $[WIN_SYS_LIBS]
      kernel32.lib gdi32.lib user32.lib $[WIN_SYS_LIBS]
 #end metalib_target
 #end metalib_target

+ 1 - 1
panda/metalibs/pandadx8/Sources.pp

@@ -18,7 +18,7 @@
   #define TARGET pandadx
   #define TARGET pandadx
   #define SOURCES pandadx8.cxx
   #define SOURCES pandadx8.cxx
   #define WIN_SYS_LIBS \
   #define WIN_SYS_LIBS \
-     ddraw.lib d3d8.lib dxguid.lib d3dx8.lib dxerr8.lib winmm.lib \
+     ddraw.lib dxguid.lib winmm.lib \
      kernel32.lib gdi32.lib user32.lib advapi32.lib $[WIN_SYS_LIBS]  
      kernel32.lib gdi32.lib user32.lib advapi32.lib $[WIN_SYS_LIBS]  
 #end metalib_target
 #end metalib_target