wined3d: Fix the sub-resource index validation in wined3d_texture_update_overlay().
commit99a3bc3c2b295cb7dfbbec1468f95725451efd5e
authorHenri Verbeet <hverbeet@codeweavers.com>
Wed, 14 Sep 2022 13:43:21 +0000 (14 15:43 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 15 Sep 2022 20:02:09 +0000 (15 22:02 +0200)
treea37c196ba38ad66394e0f7178b71c39087d491e4
parent064edf1df476ef8ac1f0c8a11eb8ffb419ebd366
wined3d: Fix the sub-resource index validation in wined3d_texture_update_overlay().

This condition accidentally got inverted when
wined3d_texture_validate_sub_resource_idx() was introduced in commit
44d6f2adbcca119faebc095f3cfbeeafc50d04f3.
dlls/wined3d/texture.c