mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-18 00:32:46 +00:00
Buildfix
This commit is contained in:
parent
d1709c7ffb
commit
e1c139dda6
@ -1245,7 +1245,8 @@ ifeq ($(HAVE_D3D9), 1)
|
||||
|
||||
ifeq ($(HAVE_HLSL), 1)
|
||||
LIBS += -lcgD3D9
|
||||
OBJ += gfx/drivers_renderchain/d3d9_hlsl_renderchain.o
|
||||
OBJ += gfx/drivers_renderchain/d3d9_hlsl_renderchain.o \
|
||||
gfx/drivers_shader/shader_hlsl.o
|
||||
endif
|
||||
endif
|
||||
|
||||
|
@ -457,11 +457,7 @@ static void hlsl_use(void *data, void *shader_data, unsigned idx, bool set_activ
|
||||
hlsl_data->active_idx = idx;
|
||||
|
||||
d3d_set_vertex_shader(d3dr, idx, hlsl_data->prg[idx].vprg);
|
||||
#ifdef _XBOX
|
||||
D3DDevice_SetPixelShader(d3dr, hlsl_data->prg[idx].fprg);
|
||||
#else
|
||||
d3dr->SetPixelShader(hlsl_data->prg[idx].fprg);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -397,6 +397,7 @@ static const renderchain_driver_t *renderchain_drivers[] = {
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(HAVE_D3D9) && defined(HAVE_HLSL)
|
||||
&hlsl_d3d9_renderchain,
|
||||
#endif
|
||||
#if defined(_WIN32) && defined(HAVE_D3D8)
|
||||
&d3d8_renderchain,
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user