diff --git a/gfx/context/xdk360_ctx.c b/gfx/context/xdk360_ctx.c index 2d74278040..4f09da154f 100644 --- a/gfx/context/xdk360_ctx.c +++ b/gfx/context/xdk360_ctx.c @@ -51,11 +51,6 @@ void gfx_ctx_check_window(bool *quit, *resize = true; } -bool gfx_ctx_window_has_focus(void) -{ - return true; -} - void gfx_ctx_set_resize(unsigned width, unsigned height) { } #ifndef HAVE_GRIFFIN @@ -64,6 +59,11 @@ void gfx_ctx_swap_buffers(void) xdk360_video_t *d3d9 = (xdk360_video_t*)driver.video_data; d3d9->d3d_render_device->Present(NULL, NULL, NULL, NULL); } + +bool gfx_ctx_window_has_focus(void) +{ + return true; +} #endif bool gfx_ctx_menu_init(void)