From e9cf861f7fceb36c59032a69c5dfc63af94a5bdd Mon Sep 17 00:00:00 2001 From: TwinAphex51224 Date: Wed, 30 May 2012 17:24:02 +0200 Subject: [PATCH] (360) fix 360 build --- gfx/context/xdk360_ctx.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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)