(XDK) Buildfixes

This commit is contained in:
twinaphex 2006-05-14 14:02:54 +02:00
parent 2b262c6b32
commit de94f77629
3 changed files with 6 additions and 2 deletions

2
deps/SPIRV-Cross vendored

@ -1 +1 @@
Subproject commit cc207e32c8668bfe5a5cc514394e7df8f020ecf6
Subproject commit 5c24d99ff22a25ef38e9e39985f80cf57a1e7418

@ -1 +1 @@
Subproject commit 2eb0986f10392a4c2365869b17b59ad79226c440
Subproject commit a4a4d5e22c375d37bd286106904ef819eafff29b

View File

@ -47,7 +47,9 @@ typedef struct xdk_renderchain
static void renderchain_set_mvp(void *data, unsigned vp_width,
unsigned vp_height, unsigned rotation)
{
#if defined(HAVE_CG) || defined(HAVE_GLSL) || defined(HAVE_HLSL)
video_shader_ctx_mvp_t mvp;
#endif
d3d_video_t *d3d = (d3d_video_t*)data;
LPDIRECT3DDEVICE d3dr = (LPDIRECT3DDEVICE)d3d->dev;
@ -141,9 +143,11 @@ static bool renderchain_create_first_pass(void *data,
static void renderchain_set_vertices(void *data, unsigned pass,
unsigned vert_width, unsigned vert_height, uint64_t frame_count)
{
#if defined(HAVE_CG) || defined(HAVE_GLSL) || defined(HAVE_HLSL)
#ifdef _XBOX
video_shader_ctx_params_t params;
video_shader_ctx_info_t shader_info;
#endif
#endif
unsigned width, height;
d3d_video_t *d3d = (d3d_video_t*)data;