(D3D) Use memcmp instead of std::memset

This commit is contained in:
twinaphex 2014-01-01 00:50:26 +01:00
parent 88a0b45ad5
commit 4b0e56a52e

View File

@ -1011,7 +1011,7 @@ void RenderChain::init_fvf(Pass &pass)
unsigned count;
for (count = 0; count < MAXD3DDECLLENGTH; count++)
{
if (std::memcmp(&decl_end, &decl[count], sizeof(decl_end)) == 0)
if (memcmp(&decl_end, &decl[count], sizeof(decl_end)) == 0)
break;
}