From 0f555d3a47dc636a6968675fd5cf4381e11f74e4 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 29 Jan 2014 14:39:13 -0500 Subject: [PATCH] Remove two references to DX9 in VideoCommon. DX9 isn't a backend anymore, so may as well get rid of them --- Source/Core/VideoCommon/EmuWindow.cpp | 3 +-- Source/Core/VideoCommon/VertexShaderManager.cpp | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Source/Core/VideoCommon/EmuWindow.cpp b/Source/Core/VideoCommon/EmuWindow.cpp index 7bb675789e..23a7208605 100644 --- a/Source/Core/VideoCommon/EmuWindow.cpp +++ b/Source/Core/VideoCommon/EmuWindow.cpp @@ -155,8 +155,7 @@ HWND Create(HWND hParent, HINSTANCE hInstance, const TCHAR *title) { // TODO: // 1. Remove redundant window manipulation, - // 2. Make DX9 in fullscreen can be overlapped by other dialogs - // 3. Request window sizes which actually make the client area map to a common resolution + // 2. Request window sizes which actually make the client area map to a common resolution HWND Ret; int x=0, y=0, width=640, height=480; Host_GetRenderWindowSize(x, y, width, height); diff --git a/Source/Core/VideoCommon/VertexShaderManager.cpp b/Source/Core/VideoCommon/VertexShaderManager.cpp index ca90077bc1..4632d098c4 100644 --- a/Source/Core/VideoCommon/VertexShaderManager.cpp +++ b/Source/Core/VideoCommon/VertexShaderManager.cpp @@ -459,7 +459,7 @@ void VertexShaderManager::SetConstants() projection hack for metroid other m...attempt to remove black projection layer from cut scenes. g_fProjectionMatrix[15] = 1.0f was the default setting before this hack was added...setting g_fProjectionMatrix[14] to -1 might make the hack more stable, needs more testing. - Only works for OGL and DX9...this is not helping DX11 + Only works for OGL...this is not helping DX11 */ g_fProjectionMatrix[14] = 0.0f;