wined3d: Remove a redundant adapter_count check (Coverity).
It is already tested that adapter_idx < wined3d->adapter_count
before calling device_init, so adapter_count can never be zero.
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
Showing
Please
register
or
sign in
to comment