From 825ceca9f1176ded8604adcf0f6897e2e17988e3 Mon Sep 17 00:00:00 2001 From: NeoBrainX Date: Mon, 3 Jan 2011 18:00:15 +0000 Subject: [PATCH] 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 --- Source/Plugins/Plugin_VideoDX9/Src/FramebufferManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Plugins/Plugin_VideoDX9/Src/FramebufferManager.cpp b/Source/Plugins/Plugin_VideoDX9/Src/FramebufferManager.cpp index 57636b33bf..1ff4f38fb7 100644 --- a/Source/Plugins/Plugin_VideoDX9/Src/FramebufferManager.cpp +++ b/Source/Plugins/Plugin_VideoDX9/Src/FramebufferManager.cpp @@ -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;