mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-11 18:23:45 +00:00
(D3D) Buildfix
This commit is contained in:
parent
7df57edf77
commit
20005f194a
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user