DX9/DX11: Workaround the viewpoint/EFB creation issues in e.g. SMG2 on NVIDIA hardwar...
commit59da59bcb430bbf75c7e5e6210e15d7fd14ce163
authorNeoBrainX <NeoBrainX@8ced0084-cf51-0410-be5f-012b33b47a6e>
Sun, 11 Jul 2010 16:26:46 +0000 (11 16:26 +0000)
committerNeoBrainX <NeoBrainX@8ced0084-cf51-0410-be5f-012b33b47a6e>
Sun, 11 Jul 2010 16:26:46 +0000 (11 16:26 +0000)
tree5fcaaf1622b853e20bdef5b0d52299eed0239648
parenta9084ea043360a17814128d136fa2a44511a70ab
DX9/DX11: Workaround the viewpoint/EFB creation issues in e.g. SMG2 on NVIDIA hardware or when using HD. Will most likely cause glitches, but prevents crashing. Correct behavior can't be implemented in Direct3D, so this is the best option we have.

Also two little changes which don't affect functionality or performance:
Change an IUnknown* cast to a T* cast.
Improve some error messages.

git-svn-id: http://dolphin-emu.googlecode.com/svn/trunk@5870 8ced0084-cf51-0410-be5f-012b33b47a6e
Source/Plugins/Plugin_VideoDX11/Src/D3DBase.cpp
Source/Plugins/Plugin_VideoDX11/Src/D3DBase.h
Source/Plugins/Plugin_VideoDX11/Src/GfxState.cpp
Source/Plugins/Plugin_VideoDX11/Src/Render.cpp
Source/Plugins/Plugin_VideoDX9/Src/FramebufferManager.cpp
Source/Plugins/Plugin_VideoDX9/Src/Render.cpp