D3D8 buildfix

This commit is contained in:
twinaphex 2018-01-03 20:23:34 +01:00
parent 5d5115941f
commit a8445c3ec4
3 changed files with 4 additions and 2 deletions

View File

@ -35,8 +35,10 @@
#ifdef _MSC_VER
#ifndef _XBOX
#ifndef HAVE_DYLIB
#pragma comment( lib, "d3d9" )
#pragma comment( lib, "d3dx9" )
#endif
#ifdef HAVE_CG
#pragma comment( lib, "cgd3d9" )
#endif

View File

@ -415,7 +415,7 @@ static const d3d_renderchain_driver_t *renderchain_d3d_drivers[] = {
&hlsl_d3d9_renderchain,
#endif
#if defined(_WIN32) && defined(HAVE_D3D8)
&d3d8_renderchain,
&d3d8_d3d_renderchain,
#endif
&null_d3d_renderchain,
NULL

View File

@ -1381,7 +1381,7 @@ extern const shader_backend_t hlsl_backend;
extern const shader_backend_t gl_cg_backend;
extern const shader_backend_t shader_null_backend;
extern d3d_renderchain_driver_t d3d8_renderchain;
extern d3d_renderchain_driver_t d3d8_d3d_renderchain;
extern d3d_renderchain_driver_t cg_d3d9_renderchain;
extern d3d_renderchain_driver_t hlsl_d3d9_renderchain;
extern d3d_renderchain_driver_t null_d3d_renderchain;