(D3D) Change some cpp files to C

This commit is contained in:
twinaphex 2015-04-07 22:28:05 +02:00
parent 2fbc79e9f3
commit c071731ce8
4 changed files with 10 additions and 2 deletions

View File

@ -22,6 +22,10 @@
#include "../../libretro.h"
#include "d3d_defines.h"
#ifdef __cplusplus
extern "C" {
#endif
struct LinkInfo
{
unsigned tex_w, tex_h;
@ -72,5 +76,9 @@ extern renderchain_driver_t null_renderchain;
bool renderchain_init_first(const renderchain_driver_t **renderchain_driver,
void **renderchain_handle);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -226,14 +226,14 @@ VIDEO DRIVER
#if defined(HAVE_D3D)
#include "../gfx/d3d/d3d_wrapper.cpp"
#include "../gfx/d3d/d3d.cpp"
#include "../gfx/d3d/render_chain_driver.cpp"
#include "../gfx/d3d/render_chain_driver.c"
#ifdef _XBOX
#include "../gfx/d3d/render_chain_xdk.cpp"
#endif
#ifdef HAVE_CG
#include "../gfx/d3d/render_chain_cg.cpp"
#endif
#include "../gfx/d3d/render_chain_null.cpp"
#include "../gfx/d3d/render_chain_null.c"
#endif
#if defined(GEKKO)