mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-20 05:54:54 -04:00
fix build errors
This commit is contained in:
parent
f645944195
commit
b72ac70e1e
@ -4,10 +4,7 @@
|
|||||||
interrogatedb:c dconfig:c dtoolconfig:m \
|
interrogatedb:c dconfig:c dtoolconfig:m \
|
||||||
dtoolutil:c dtoolbase:c dtool:m
|
dtoolutil:c dtoolbase:c dtool:m
|
||||||
|
|
||||||
#define WIN_SYS_LIBS \
|
#define USE_PACKAGES dx8
|
||||||
d3d8.lib d3dx8.lib dxerr8.lib
|
|
||||||
|
|
||||||
#define USE_PACKAGES dx
|
|
||||||
|
|
||||||
#begin lib_target
|
#begin lib_target
|
||||||
#define TARGET dxgsg8
|
#define TARGET dxgsg8
|
||||||
|
@ -4,10 +4,7 @@
|
|||||||
interrogatedb:c dconfig:c dtoolconfig:m \
|
interrogatedb:c dconfig:c dtoolconfig:m \
|
||||||
dtoolutil:c dtoolbase:c dtool:m
|
dtoolutil:c dtoolbase:c dtool:m
|
||||||
|
|
||||||
#define WIN_SYS_LIBS \
|
#define USE_PACKAGES dx9 cg cgdx9
|
||||||
d3d9.lib d3dx9.lib dxerr9.lib
|
|
||||||
|
|
||||||
#define USE_PACKAGES dx cg cgdx9
|
|
||||||
|
|
||||||
#begin lib_target
|
#begin lib_target
|
||||||
#define TARGET dxgsg9
|
#define TARGET dxgsg9
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
#define BUILDING_DLL BUILDING_PANDAWIN
|
#define BUILDING_DLL BUILDING_PANDAWIN
|
||||||
|
|
||||||
#define USE_PACKAGES dx
|
#define USE_PACKAGES dx8 dx9
|
||||||
|
|
||||||
#begin lib_target
|
#begin lib_target
|
||||||
#define TARGET windisplay
|
#define TARGET windisplay
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#include "pandabase.h"
|
#include "pandabase.h"
|
||||||
|
|
||||||
#if HAVE_DX8
|
#ifdef HAVE_DX8
|
||||||
|
|
||||||
#include <d3d8.h>
|
#include <d3d8.h>
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#include "pandabase.h"
|
#include "pandabase.h"
|
||||||
|
|
||||||
#if HAVE_DX9
|
#ifdef HAVE_DX9
|
||||||
|
|
||||||
#include <d3d9.h>
|
#include <d3d9.h>
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ WinGraphicsPipe() {
|
|||||||
(PFN_TRACKMOUSEEVENT)GetProcAddress(_hUser32, "TrackMouseEvent");
|
(PFN_TRACKMOUSEEVENT)GetProcAddress(_hUser32, "TrackMouseEvent");
|
||||||
}
|
}
|
||||||
|
|
||||||
#if HAVE_DX9
|
#ifdef HAVE_DX9
|
||||||
DisplaySearchParameters display_search_parameters_dx9;
|
DisplaySearchParameters display_search_parameters_dx9;
|
||||||
int dx9_display_information (DisplaySearchParameters &display_search_parameters_dx9, DisplayInformation *display_information);
|
int dx9_display_information (DisplaySearchParameters &display_search_parameters_dx9, DisplayInformation *display_information);
|
||||||
|
|
||||||
@ -51,7 +51,7 @@ WinGraphicsPipe() {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAVE_DX8
|
#ifdef HAVE_DX8
|
||||||
DisplaySearchParameters display_search_parameters_dx8;
|
DisplaySearchParameters display_search_parameters_dx8;
|
||||||
int dx8_display_information (DisplaySearchParameters &display_search_parameters_dx8, DisplayInformation *display_information);
|
int dx8_display_information (DisplaySearchParameters &display_search_parameters_dx8, DisplayInformation *display_information);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user