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:
parent
5cad834c96
commit
825ceca9f1
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue