D3D: fix the wire frame option

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4482 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
luisr142004
2009-10-30 11:03:50 +00:00
parent 4fbf138ed2
commit 0127d9ba7c
2 changed files with 6 additions and 0 deletions

View File

@ -282,6 +282,8 @@ HRESULT Create(int adapter, HWND wnd, bool _fullscreen, int _resolution, int aa_
if (dev->GetDepthStencilSurface(&back_buffer_z) == D3DERR_NOTFOUND)
back_buffer_z = NULL;
dev->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE );
dev->SetRenderState(D3DRS_FILLMODE, g_Config.bWireFrame ? D3DFILL_WIREFRAME : D3DFILL_SOLID);
// Device state would normally be set here
return S_OK;