mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 13:14:04 +00:00
Add another HAVE_D3D8 conditional
This commit is contained in:
parent
777e96f2ea
commit
bf1f201e5a
@ -323,6 +323,8 @@ void d3d_vertex_buffer_free(void *vertex_data, void *vertex_declaration)
|
||||
LPDIRECT3DVERTEXBUFFER buf = (LPDIRECT3DVERTEXBUFFER)vertex_data;
|
||||
#if defined(HAVE_D3D9) && !defined(__cplusplus)
|
||||
IDirect3DVertexBuffer9_Release(buf);
|
||||
#elif defined(HAVE_D3D8) && !defined(__cplusplus)
|
||||
IDirect3DVertexBuffer8_Release(buf);
|
||||
#else
|
||||
buf->Release();
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user