Convert menu_display_d3d.cpp to C

This commit is contained in:
twinaphex 2017-10-02 19:04:49 +02:00
parent bceb8000dd
commit 0db3aec722
3 changed files with 4 additions and 10 deletions

View File

@ -1036,6 +1036,10 @@ MENU
#include "../menu/drivers_display/menu_display_null.c"
#if defined(HAVE_D3D)
#include "../menu/drivers_display/menu_display_d3d.c"
#endif
#ifdef HAVE_OPENGL
#include "../menu/drivers_display/menu_display_gl.c"
#endif

View File

@ -97,10 +97,6 @@ MENU
#include "../menu/drivers/xui.cpp"
#endif
#if defined(HAVE_D3D)
#include "../menu/drivers_display/menu_display_d3d.cpp"
#endif
/*============================================================
VIDEO CONTEXT
============================================================ */

View File

@ -29,12 +29,6 @@
#include "../../gfx/drivers/d3d.h"
#include "../../gfx/common/d3d_common.h"
#if defined(HAVE_D3D9)
#include "../../gfx/include/d3d9/d3dx9math.h"
#elif defined(HAVE_D3D8)
#include "../../gfx/include/d3d8/d3dx8math.h"
#endif
#define BYTE_CLAMP(i) (int) ((((i) > 255) ? 255 : (((i) < 0) ? 0 : (i))))
static const float d3d_vertexes[] = {