mirror of
https://github.com/libretro/RetroArch
synced 2025-02-04 21:40:02 +00:00
(Xbox 1) Build fixes
This commit is contained in:
parent
e9dc0faace
commit
1f74056286
@ -139,7 +139,7 @@ static bool gfx_ctx_xdk_menu_init(void)
|
||||
#ifdef _XBOX1
|
||||
xdk_d3d_video_t *d3d = (xdk_d3d_video_t*)driver.video_data;
|
||||
|
||||
int width = d3d->d3dpp.BackBufferWidth;
|
||||
int width = d3d->win_width;
|
||||
|
||||
// Load background image
|
||||
if(width == 640)
|
||||
|
@ -193,13 +193,9 @@ static void xdk_d3d_set_viewport(bool force_full)
|
||||
#if defined(_XBOX1)
|
||||
// Get the "video mode"
|
||||
d3d->video_mode = XGetVideoFlags();
|
||||
|
||||
width = d3d->d3dpp.BackBufferWidth;
|
||||
height = d3d->d3dpp.BackBufferHeight;
|
||||
#elif defined(_XBOX360)
|
||||
width = d3d->video_mode.fIsHiDef ? 1280 : 640;
|
||||
height = d3d->video_mode.fIsHiDef ? 720 : 480;
|
||||
#endif
|
||||
width = d3d->win_width;
|
||||
height = d3d->win_width;
|
||||
m_viewport_x_temp = 0;
|
||||
m_viewport_y_temp = 0;
|
||||
m_viewport_width_temp = width;
|
||||
|
Loading…
x
Reference in New Issue
Block a user