(D3D) Buildfix

This commit is contained in:
twinaphex 2015-04-07 02:54:33 +02:00
parent 7df57edf77
commit 20005f194a

View File

@ -97,7 +97,7 @@ LPDIRECT3DVERTEXBUFFER d3d_vertex_buffer_new(LPDIRECT3DDEVICE dev,
HRESULT hr; HRESULT hr;
LPDIRECT3DVERTEXBUFFER buf; LPDIRECT3DVERTEXBUFFER buf;
if (usage == 0) if (usage == 0)
usage = (dev->GetSoftwareVertexProcessing()) ? D3DUSAGE_SOFTWAREPROCESSING : 0 usage = (dev->GetSoftwareVertexProcessing()) ? D3DUSAGE_SOFTWAREPROCESSING : 0;
#if defined(HAVE_D3D8) #if defined(HAVE_D3D8)
hr = IDirect3DDevice8_CreateVertexBuffer(dev, length, usage, fvf, pool, hr = IDirect3DDevice8_CreateVertexBuffer(dev, length, usage, fvf, pool,