diff options
author | Oliver Wolff <oliver.wolff@qt.io> | 2018-04-12 13:59:51 +0200 |
---|---|---|
committer | Oliver Wolff <oliver.wolff@qt.io> | 2018-04-13 12:16:54 +0000 |
commit | a8906e35103c9c30597bf3b0034371498669f9da (patch) | |
tree | b97ba88d2ca57fca6092c4a21bcdcae814163232 /src/plugins/platforms/winrt/qwinrtfileengine.cpp | |
parent | 26355be54d7e7aa1c8e6a7adcb6bb9de68700dd9 (diff) |
winrt: QWinRTEGLContext: add isValid functionality
QPlatformOpenGLContext::isValid always returns true
but it is possible that creation of the context fails
in QWinRTEGLContext. This case should be reflected in
isValid because other places (like QOpenGLContext::isValid())
rely on it and not having proper information about the
validity of the context might lead to crashes.
Task-number: QTBUG-67568
Change-Id: If989ca47cdf7b27c44961beee5d97a4647184b0a
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'src/plugins/platforms/winrt/qwinrtfileengine.cpp')
0 files changed, 0 insertions, 0 deletions