mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-14 06:09:17 +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 "../../driver.h"
|
||||
|
||||
#if defined(HAVE_CG) || defined(HAVE_GLSL) || defined(HAVE_HLSL)
|
||||
#include "../shader_parse.h"
|
||||
#include "../shader_common.h"
|
||||
#endif
|
||||
|
||||
#include "../fonts/d3d_font.h"
|
||||
#include "../gfx_context.h"
|
||||
|
@ -1,10 +1,14 @@
|
||||
#include "d3d_defines.h"
|
||||
#include "../gfx_common.h"
|
||||
|
||||
#if defined(HAVE_CG) || defined(HAVE_GLSL) || defined(HAVE_HLSL)
|
||||
|
||||
#ifdef HAVE_HLSL
|
||||
#include "../shader_hlsl.h"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/* forward declarations */
|
||||
static void d3d_calculate_rect(d3d_video_t *d3d,
|
||||
unsigned width, unsigned height,
|
||||
|
Loading…
x
Reference in New Issue
Block a user