mirror of
https://github.com/libretro/RetroArch
synced 2025-02-25 12:41:18 +00:00
(360) Build fixes
This commit is contained in:
parent
bac8a923b2
commit
c3db8e8c8f
@ -364,11 +364,11 @@ HRESULT d3d9_init_font(const char *font_path)
|
||||
unsigned int uiSafeAreaPct = g_extern.console.rmenu.state.rmenu_hd.enable
|
||||
? SAFE_AREA_PCT_HDTV : SAFE_AREA_PCT_4x3;
|
||||
|
||||
video_console.m_cxSafeArea = ( vid->full_x * uiSafeAreaPct ) / 100;
|
||||
video_console.m_cySafeArea = ( vid->full_y * uiSafeAreaPct ) / 100;
|
||||
video_console.m_cxSafeArea = ( vid->win_width * uiSafeAreaPct ) / 100;
|
||||
video_console.m_cySafeArea = ( vid->win_height * uiSafeAreaPct ) / 100;
|
||||
|
||||
video_console.m_cxSafeAreaOffset = ( vid->full_x - video_console.m_cxSafeArea ) / 2;
|
||||
video_console.m_cySafeAreaOffset = ( vid->full_y - video_console.m_cySafeArea ) / 2;
|
||||
video_console.m_cxSafeAreaOffset = ( vid->win_width - video_console.m_cxSafeArea ) / 2;
|
||||
video_console.m_cySafeAreaOffset = ( vid->win_height - video_console.m_cySafeArea ) / 2;
|
||||
|
||||
// Create the font
|
||||
HRESULT hr = xdk360_video_font_init(&m_Font, font_path);
|
||||
|
@ -275,8 +275,7 @@ static void xdk_d3d_set_rotation(void * data, unsigned orientation)
|
||||
|
||||
#if defined(HAVE_HLSL)
|
||||
/* TODO: Move to D3DXMATRIX here */
|
||||
hlsl_set_proj_matrix(XMMatrixRotationZ(d3d->angle));
|
||||
d3d->should_resize = TRUE;
|
||||
hlsl_set_proj_matrix(XMMatrixRotationZ(angle));
|
||||
#elif defined(_XBOX1)
|
||||
D3DXMATRIX p_out, p_rotate;
|
||||
D3DXMatrixIdentity(&p_out);
|
||||
|
Loading…
x
Reference in New Issue
Block a user