Commit 9442b3a1 authored by Friedemann Kleint's avatar Friedemann Kleint Committed by Friedemann Kleint
Browse files

Windows QPA/GL: Avoid crash in GL driver.

QWindowsStaticOpenGLContext::doCreate(): Invoke
QWindowsOpenGLTester::supportedRenderers() only when needed; specifically,
do not unnecessarily call it when GLES/SW renderer is specified.
Amends change b4c8e151

.

Task-number: QTBUG-49541
Task-number: QTBUG-52693
Change-Id: I58d1c584d194f8e7fee35ee16b77575f86d3c22e
Reviewed-by: default avatarLaszlo Agocs <laszlo.agocs@theqtcompany.com>
parent ccfe33dc
No related merge requests found
Showing with 2 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