(D3D9) Fix warning

This commit is contained in:
twinaphex 2018-01-17 00:53:31 +01:00
parent c5b71470c4
commit f48458d5bd

View File

@ -303,7 +303,7 @@ static bool d3d9_cg_renderchain_init_shader_fvf(void *data, void *pass_data)
for (count = 0; count < MAXD3DDECLLENGTH; count++)
{
if (string_is_equal(&decl_end, &decl[count]))
if (string_is_equal_fast(&decl_end, &decl[count], sizeof(decl_end)))
break;
}