diff --git a/gfx/d3d/d3d_wrapper.cpp b/gfx/d3d/d3d_wrapper.cpp index 4342a88391..750c21c74d 100644 --- a/gfx/d3d/d3d_wrapper.cpp +++ b/gfx/d3d/d3d_wrapper.cpp @@ -107,14 +107,12 @@ void d3d_texture_free(LPDIRECT3DTEXTURE tex) void d3d_vertex_declaration_free(void *data) { -#ifndef _XBOX1 LPDIRECT3DVERTEXDECLARATION *vertex_decl = (LPDIRECT3DVERTEXDECLARATION*)data; if (!vertex_decl) return; vertex_decl->Release(); -#endif } bool d3d_vertex_declaration_new(LPDIRECT3DDEVICE dev,