mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-07 02:40:23 +00:00
Convert menu_display_d3d.cpp to C
This commit is contained in:
parent
bceb8000dd
commit
0db3aec722
@ -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
|
||||
|
@ -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
|
||||
============================================================ */
|
||||
|
@ -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[] = {
|
Loading…
Reference in New Issue
Block a user