mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +00:00
(D3D) Cleanups
This commit is contained in:
parent
86a35ea9a9
commit
77b3705b89
@ -38,6 +38,10 @@
|
|||||||
#include <file/file_path.h>
|
#include <file/file_path.h>
|
||||||
#include "../../performance.h"
|
#include "../../performance.h"
|
||||||
|
|
||||||
|
#include "d3d_defines.h"
|
||||||
|
|
||||||
|
#if defined(HAVE_CG) || defined(HAVE_GLSL) || defined(HAVE_HLSL)
|
||||||
|
|
||||||
#if defined(HAVE_CG)
|
#if defined(HAVE_CG)
|
||||||
#define HAVE_SHADERS
|
#define HAVE_SHADERS
|
||||||
#endif
|
#endif
|
||||||
@ -45,19 +49,9 @@
|
|||||||
#ifdef HAVE_HLSL
|
#ifdef HAVE_HLSL
|
||||||
#include "../drivers_shader/shader_hlsl.h"
|
#include "../drivers_shader/shader_hlsl.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "d3d_defines.h"
|
|
||||||
#if defined(HAVE_CG) || defined(HAVE_GLSL) || defined(HAVE_HLSL)
|
|
||||||
|
|
||||||
#ifdef HAVE_HLSL
|
|
||||||
#include "../drivers_shader/shader_hlsl.h"
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(DONT_HAVE_STATE_TRACKER) && !defined(_XBOX)
|
|
||||||
#include "../../dynamic.h"
|
#include "../../dynamic.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
/* forward declarations */
|
/* forward declarations */
|
||||||
static void d3d_calculate_rect(d3d_video_t *d3d,
|
static void d3d_calculate_rect(d3d_video_t *d3d,
|
||||||
@ -86,7 +80,9 @@ void d3d_make_d3dpp(void *data, const video_info_t *info,
|
|||||||
D3DPRESENT_PARAMETERS *d3dpp);
|
D3DPRESENT_PARAMETERS *d3dpp);
|
||||||
|
|
||||||
#ifdef HAVE_WINDOW
|
#ifdef HAVE_WINDOW
|
||||||
|
|
||||||
#define IDI_ICON 1
|
#define IDI_ICON 1
|
||||||
|
|
||||||
#define MAX_MONITORS 9
|
#define MAX_MONITORS 9
|
||||||
|
|
||||||
extern LRESULT CALLBACK WindowProc(HWND hWnd, UINT message,
|
extern LRESULT CALLBACK WindowProc(HWND hWnd, UINT message,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user