mirror of
https://github.com/libretro/RetroArch.git
synced 2025-01-31 14:04:21 +00:00
(XDK1) Use D3DSWAPEFFECT_DISCARD
This commit is contained in:
parent
99265999d8
commit
050ed45f30
@ -429,7 +429,7 @@ void xdk_d3d_generate_pp(D3DPRESENT_PARAMETERS *d3dpp, const video_info_t *video
|
||||
|
||||
d3dpp->BackBufferFormat = D3DFMT_X8R8G8B8;
|
||||
d3dpp->FullScreen_PresentationInterval = d3d->vsync ? D3DPRESENT_INTERVAL_ONE : D3DPRESENT_INTERVAL_IMMEDIATE;
|
||||
d3dpp->SwapEffect = D3DSWAPEFFECT_COPY;
|
||||
d3dpp->SwapEffect = D3DSWAPEFFECT_DISCARD;
|
||||
#elif defined(_XBOX360)
|
||||
if (!(lifecycle_mode_state & (1ULL << MODE_MENU_WIDESCREEN)))
|
||||
d3dpp->Flags |= D3DPRESENTFLAG_NO_LETTERBOX;
|
||||
|
Loading…
x
Reference in New Issue
Block a user