[DX9] Use hardware vertex processing rather than software. This gives a large speed boost, so unless there is a timing issue I don't see why this shouldn't be used.
This commit is contained in:
@@ -352,7 +352,7 @@ RString SetD3DParams( bool &bNewDeviceOut )
|
|||||||
D3DADAPTER_DEFAULT,
|
D3DADAPTER_DEFAULT,
|
||||||
D3DDEVTYPE_HAL,
|
D3DDEVTYPE_HAL,
|
||||||
GraphicsWindow::GetHwnd(),
|
GraphicsWindow::GetHwnd(),
|
||||||
D3DCREATE_SOFTWARE_VERTEXPROCESSING | D3DCREATE_MULTITHREADED,
|
D3DCREATE_HARDWARE_VERTEXPROCESSING | D3DCREATE_MULTITHREADED,
|
||||||
&g_d3dpp,
|
&g_d3dpp,
|
||||||
&g_pd3dDevice );
|
&g_pd3dDevice );
|
||||||
if( FAILED(hr) )
|
if( FAILED(hr) )
|
||||||
|
|||||||
Reference in New Issue
Block a user