(XDK) Build fix

This commit is contained in:
twinaphex 2014-03-08 00:54:33 +01:00
parent c5fd281e1c
commit c512fccc18
2 changed files with 2 additions and 2 deletions

View File

@ -265,7 +265,7 @@ static void gfx_ctx_d3d_update_window_title(void)
static void gfx_ctx_d3d_get_video_size(unsigned *width, unsigned *height)
{
#ifndef _XBOX
#ifdef _XBOX
(void)width;
(void)height;
#if defined(_XBOX360)

View File

@ -386,7 +386,7 @@ static const gfx_ctx_driver_t *d3d_get_context(void *data)
major = 9;
#endif
minor = 0;
return d3d->ctx_driver = gfx_ctx_init_first(api, major, minor);
return gfx_ctx_init_first(api, major, minor);
}
static bool d3d_init_base(void *data, const video_info_t *info)