From e2484ce545f579b4f02b328c941aeac6fefc3a28 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 7 Jul 2012 15:55:44 +0300 Subject: [PATCH] (360) Build fixes --- 360/xdk360_video.cpp | 4 ++-- console/griffin/hook.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/360/xdk360_video.cpp b/360/xdk360_video.cpp index a38711c5b7..bfc9499518 100644 --- a/360/xdk360_video.cpp +++ b/360/xdk360_video.cpp @@ -501,7 +501,7 @@ static void xdk360_start(void) gfx_ctx_set_swap_interval(d3d->vsync ? 1 : 0, false); #ifdef _XBOX360 - HRESULT hr = d3d_init_font("game:\\media\\Arial_12.xpr"); + HRESULT hr = d3d9_init_font("game:\\media\\Arial_12.xpr"); if(hr < 0) { @@ -518,7 +518,7 @@ static void xdk360_stop(void) { void *data = driver.video_data; driver.video_data = NULL; - d3d_deinit_font(); + d3d9_deinit_font(); xdk360_free(data); } diff --git a/console/griffin/hook.h b/console/griffin/hook.h index f8af9f9f10..2e1143879c 100644 --- a/console/griffin/hook.h +++ b/console/griffin/hook.h @@ -69,7 +69,7 @@ #define video_set_aspect_ratio_func(aspectratio_idx) gfx_ctx_set_aspect_ratio(driver.video_data, aspectratio_idx) #define gfx_ctx_window_has_focus() (true) -#define gfx_ctx_swap_buffers() (d3d9->d3d_render_device->Present(NULL, NULL, NULL, NULL)) +#define gfx_ctx_swap_buffers() (d3d->d3d_render_device->Present(NULL, NULL, NULL, NULL)) #define input_init_func() xdk360_input_initialize() #define input_poll_func() xdk360_input_poll(driver.input_data)