mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-05 17:49:45 +00:00
Cleanups
This commit is contained in:
parent
7b8299bbd7
commit
f19ff885f4
@ -255,10 +255,12 @@ bool d3d_vertex_declaration_new(LPDIRECT3DDEVICE dev,
|
||||
|
||||
#if defined(__cplusplus)
|
||||
if (SUCCEEDED(dev->CreateVertexDeclaration(vertex_elements, (IDirect3DVertexDeclaration9**)vertex_decl)))
|
||||
return true;
|
||||
#else
|
||||
if (SUCCEEDED(IDirect3DDevice9_CreateVertexDeclaration(dev, vertex_elements, (IDirect3DVertexDeclaration9**)vertex_decl)))
|
||||
#endif
|
||||
return true;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user