Remove two references to DX9 in VideoCommon.

DX9 isn't a backend anymore, so may as well get rid of them
This commit is contained in:
Lioncash 2014-01-29 14:39:13 -05:00
parent ac2ebd264d
commit 0f555d3a47
2 changed files with 2 additions and 3 deletions

View File

@ -155,8 +155,7 @@ HWND Create(HWND hParent, HINSTANCE hInstance, const TCHAR *title)
{ {
// TODO: // TODO:
// 1. Remove redundant window manipulation, // 1. Remove redundant window manipulation,
// 2. Make DX9 in fullscreen can be overlapped by other dialogs // 2. Request window sizes which actually make the client area map to a common resolution
// 3. Request window sizes which actually make the client area map to a common resolution
HWND Ret; HWND Ret;
int x=0, y=0, width=640, height=480; int x=0, y=0, width=640, height=480;
Host_GetRenderWindowSize(x, y, width, height); Host_GetRenderWindowSize(x, y, width, height);

View File

@ -459,7 +459,7 @@ void VertexShaderManager::SetConstants()
projection hack for metroid other m...attempt to remove black projection layer from cut scenes. 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 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. 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; g_fProjectionMatrix[14] = 0.0f;