Quick fix for GSdx10 crashing when entering/leaving fullscreen on pcsx/wx.

Ideally this should be reverted one time, it really made a difference in fps for some DX calls heavy games.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2019 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2009-10-17 15:11:21 +00:00
parent 733e3daa18
commit 1ae5d07a3f
1 changed files with 3 additions and 1 deletions

View File

@ -68,7 +68,9 @@ bool GSDevice10::Create(GSWnd* wnd, bool vsync)
scd.SampleDesc.Quality = 0;
scd.Windowed = TRUE;
uint32 flags = D3D10_CREATE_DEVICE_SINGLETHREADED;
//Crashes when 2 threads work on the swapchain, as in pcsx2/wx.
//Todo : Figure out a way to have this flag anyway
uint32 flags = 0; //D3D10_CREATE_DEVICE_SINGLETHREADED;
#ifdef DEBUG
flags |= D3D10_CREATE_DEVICE_DEBUG;