Commit 6d6e296e authored by Alexandru Croitor's avatar Alexandru Croitor Committed by Allan Sandfeld Jensen
Browse files

Don't pass kInProcessGPU if we pass kDisableGPU


The in process GPU thread still starts even if kDisableGPU is passed
because kInProcessGPU check has a higher priority in
GpuDataManagerImplPrivate::GpuAccessAllowed(). This caused a crash when
running on Windows with ANGLE.

Make sure not to pass kInProcessGPU if we will disable the GPU.

Task-number: QTBUG-63221
Change-Id: I8f9d154951e9143c7b5049eb641bfad2448b855b
Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@qt.io>
parent bdeb81b7
Showing with 4 additions and 3 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment