This commit is contained in:
twinaphex 2018-01-04 14:59:23 +01:00
parent e0b59c40ea
commit 2c12010889

View File

@ -1260,9 +1260,15 @@ endif
ifeq ($(HAVE_D3D9), 1)
HAVE_D3D_COMMON = 1
HAVE_D3DX = 1
DEFINES += -DHAVE_D3D9 -DHAVE_D3DX
DEFINES += -DHAVE_D3D9
ifeq ($(HAVE_D3DX), 1)
DEFINES += -DHAVE_D3DX
endif
ifneq ($(HAVE_DYLIB), 1)
LIBS += -ld3d9 -ld3dx9
LIBS += -ld3d9
ifeq ($(HAVE_D3DX), 1)
LIBS += -ld3dx9
endif
endif
HAVE_DX_COMMON = 1
OBJ += gfx/drivers_font/d3d_w32_font.o
@ -1283,8 +1289,10 @@ ifeq ($(HAVE_D3D8), 1)
DEFINES += -DHAVE_D3D8
ifneq ($(HAVE_DYLIB), 1)
LIBS += -ld3d8
endif
ifeq ($(HAVE_D3DX), 1)
LIBS += -ld3dx8
endif
endif
OBJ += gfx/drivers_renderchain/d3d8_renderchain.o
endif