mirror of
https://github.com/libretro/RetroArch
synced 2025-03-20 10:20:51 +00:00
(360) Build fixes
This commit is contained in:
parent
4216cded79
commit
e2484ce545
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user