(D3D9) Fix warning
This commit is contained in:
parent
c5b71470c4
commit
f48458d5bd
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue