This commit is contained in:
twinaphex 2018-01-23 03:53:35 +01:00
parent d5ec046c63
commit d3c2d90a2c
2 changed files with 5 additions and 7 deletions

View File

@ -3426,11 +3426,12 @@ void video_driver_set_mvp(video_shader_ctx_mvp_t *mvp)
}
bool renderchain_d3d_init_first(
enum d3d_comm_api api,
unsigned api,
const d3d_renderchain_driver_t **renderchain_driver,
void **renderchain_handle)
{
switch (api)
#ifdef HAVE_D3D
switch ((enum d3d_comm_api)api)
{
case D3D_COMM_D3D9:
#ifdef HAVE_D3D9
@ -3478,6 +3479,7 @@ bool renderchain_d3d_init_first(
case D3D_COMM_NONE:
break;
}
#endif
return false;
}

View File

@ -33,10 +33,6 @@
#include "../input/input_overlay.h"
#endif
#ifdef HAVE_D3D
#include "common/d3d_common.h"
#endif
#include "video_defines.h"
#include "video_coord_array.h"
#include "video_filter.h"
@ -1321,7 +1317,7 @@ bool video_shader_driver_compile_program(struct shader_program_info *program_inf
bool video_shader_driver_wrap_type(video_shader_ctx_wrap_t *wrap);
bool renderchain_d3d_init_first(
enum d3d_comm_api api,
unsigned api,
const d3d_renderchain_driver_t **renderchain_driver,
void **renderchain_handle);