mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-04 10:18:36 +00:00
a little cleanup of dx9 depth conversion code that r6751 made unnecessary, and a question about D3DFMT_D24X8 checks, and (most importantly) spelled Stretch right in video config
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6757 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
95b6d3f445
commit
4f45b422a2
7 changed files with 20 additions and 39 deletions
|
@ -80,6 +80,7 @@ FramebufferManager::FramebufferManager()
|
|||
|
||||
// Render buffer for AccessEFB (depth data)
|
||||
D3DFORMAT DepthTexFormats[2];
|
||||
// TODO: why is D3DFMT_D24X8 singled out here? why not D3DFMT_D24X4S4/D24S8/D24FS8/D32/D16/D15S1 too, or none of them?
|
||||
if (s_efb.depth_surface_Format == FOURCC_RAWZ || s_efb.depth_surface_Format == D3DFMT_D24X8)
|
||||
DepthTexFormats[0] = D3DFMT_A8R8G8B8;
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue