Revert "(d3d_wrapper.cpp) Xbox 1 buildfix"

This reverts commit f028273dec.
This commit is contained in:
twinaphex 2015-11-17 23:53:43 +01:00
parent f996563ada
commit a5c6629ec2

View File

@ -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,