(XDK1) Use D3DSWAPEFFECT_DISCARD

This commit is contained in:
twinaphex 2013-04-16 21:08:28 +02:00
parent 99265999d8
commit 050ed45f30

View File

@ -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;