From 050ed45f30547eeb045454905d558579cb0586bf Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 16 Apr 2013 21:08:28 +0200 Subject: [PATCH] (XDK1) Use D3DSWAPEFFECT_DISCARD --- xdk/xdk_d3d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xdk/xdk_d3d.cpp b/xdk/xdk_d3d.cpp index f0c6025c0c..8a848e8a4b 100644 --- a/xdk/xdk_d3d.cpp +++ b/xdk/xdk_d3d.cpp @@ -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;