diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2021-06-08 16:56:34 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-06-09 00:22:24 +0000 |
commit | e99a9ff495d90e3d97615c8f283cc6d71514035c (patch) | |
tree | 11c1808bb8c3338d864cad6d49683c281cc02a20 /tests/auto | |
parent | 03cb3405ae8183319be57fec1615791ff829ae4a (diff) |
windows: gl: Print GetLastError() when makeCurrent fails
This matches the behavior of other implementations, such as
QEGLPlatformContext: doing a qWarning with the relevant error
from eglGetError() or equivalent is helpful when something
goes wrong and should be common among QOpenGLPlatformContext
implementations.
Task-number: QTBUG-85714
Change-Id: Ifa5d22b83808c92ae92efcbcddc8d8c3d3ba34b1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit 03650696a1fb727a337865d43f068ddc7723a893)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions