mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
C buildfix
This commit is contained in:
parent
f6cb15f410
commit
0ece7015e7
@ -221,9 +221,12 @@ void d3d_vertex_declaration_free(void *data)
|
||||
#elif defined(HAVE_D3D9) && !defined(__cplusplus)
|
||||
IDirect3DVertexDeclaration9_Release((LPDIRECT3DVERTEXDECLARATION)data);
|
||||
#else
|
||||
LPDIRECT3DVERTEXDECLARATION vertex_decl = (LPDIRECDT3DVERTEXDECLARATION)data;
|
||||
if (vertex_decl)
|
||||
vertex_decl->Release();
|
||||
{
|
||||
LPDIRECT3DVERTEXDECLARATION vertex_decl =
|
||||
(LPDIRECDT3DVERTEXDECLARATION)data;
|
||||
if (vertex_decl)
|
||||
vertex_decl->Release();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user