Added NVIDIA 3D Vision support. Patch by Uhyve.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6347 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
skidau
2010-11-05 11:24:46 +00:00
parent eb167e3ca8
commit 5436bef30b
9 changed files with 150 additions and 15 deletions

View File

@ -20,6 +20,7 @@
#include "Render.h"
#include "XFStructs.h"
#include "StringUtil.h"
#include "Render3dVision.h"
// D3DX
HINSTANCE hD3DXDll = NULL;
@ -139,7 +140,7 @@ void InitPP(int adapter, int f, int aa_mode, D3DPRESENT_PARAMETERS *pp)
yres = pp->BackBufferHeight = client.bottom - client.top;
pp->SwapEffect = D3DSWAPEFFECT_DISCARD;
pp->PresentationInterval = g_Config.bVSync ? D3DPRESENT_INTERVAL_DEFAULT : D3DPRESENT_INTERVAL_IMMEDIATE;
pp->Windowed = TRUE;
pp->Windowed = !Render3dVision::isEnable3dVision();
}
void Enumerate()