From 4b0e56a52ebd4e451c9726be807577ec7e912c02 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 1 Jan 2014 00:50:26 +0100 Subject: [PATCH] (D3D) Use memcmp instead of std::memset --- gfx/d3d9/render_chain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/d3d9/render_chain.cpp b/gfx/d3d9/render_chain.cpp index 29571aa0b8..7a085180cb 100644 --- a/gfx/d3d9/render_chain.cpp +++ b/gfx/d3d9/render_chain.cpp @@ -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; }