Taking a random guess at what could possibly fix issue 3256...

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6731 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
NeoBrainX 2011-01-03 18:00:15 +00:00
parent 5cad834c96
commit 825ceca9f1
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ FramebufferManager::FramebufferManager()
// check format support
for (int i = 0; i < sizeof(DepthTexFormats)/sizeof(D3DFORMAT); ++i)
{
if (D3D::CheckDepthStencilSupport(s_efb.color_surface_Format, DepthTexFormats[i]))
if (D3D::CheckTextureSupport(D3DUSAGE_DEPTHSTENCIL, DepthTexFormats[i]))
{
s_efb.depth_surface_Format = DepthTexFormats[i];
break;