On Wed, 20 Feb 2019 at 21:57, Sven Baars <sven.wine at gmail.com> wrote: > It is already tested that adapter_idx >= wined3d->adapter_count > before calling device_init, so adapter_count can never be zero. > The patch is fine, but the condition in the commit message is wrong.