mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-14 22:47:44 +00:00
(D3D) Put ifdefs around shader code
This commit is contained in:
parent
9caadf5a55
commit
f7baa4c636
@ -41,8 +41,11 @@
|
|||||||
|
|
||||||
#include "../../general.h"
|
#include "../../general.h"
|
||||||
#include "../../driver.h"
|
#include "../../driver.h"
|
||||||
|
|
||||||
|
#if defined(HAVE_CG) || defined(HAVE_GLSL) || defined(HAVE_HLSL)
|
||||||
#include "../shader_parse.h"
|
#include "../shader_parse.h"
|
||||||
#include "../shader_common.h"
|
#include "../shader_common.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "../fonts/d3d_font.h"
|
#include "../fonts/d3d_font.h"
|
||||||
#include "../gfx_context.h"
|
#include "../gfx_context.h"
|
||||||
|
@ -1,10 +1,14 @@
|
|||||||
#include "d3d_defines.h"
|
#include "d3d_defines.h"
|
||||||
#include "../gfx_common.h"
|
#include "../gfx_common.h"
|
||||||
|
|
||||||
|
#if defined(HAVE_CG) || defined(HAVE_GLSL) || defined(HAVE_HLSL)
|
||||||
|
|
||||||
#ifdef HAVE_HLSL
|
#ifdef HAVE_HLSL
|
||||||
#include "../shader_hlsl.h"
|
#include "../shader_hlsl.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
/* forward declarations */
|
/* forward declarations */
|
||||||
static void d3d_calculate_rect(d3d_video_t *d3d,
|
static void d3d_calculate_rect(d3d_video_t *d3d,
|
||||||
unsigned width, unsigned height,
|
unsigned width, unsigned height,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user