diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-12-12 11:36:47 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-12-16 10:38:17 +0000 |
commit | a1a3a7cd8abbfcc778c3b57953fd931c87a49278 (patch) | |
tree | c53f68c2eda1a516786bf738a8f7b918774841ef /src/plugins/platforms/windows/qwindowseglcontext.cpp | |
parent | deeaa500ad8c591b3142eb53a57e79b6b4ae1ca6 (diff) |
Avoid crashing when constructing color-space from invalid enum
This is not to be taken as supported and is still undefined behavior,
but I prefer we do not crash.
Change-Id: Icf4f3398bfd57fcbdc611a5a821a1f2de0838330
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowseglcontext.cpp')
0 files changed, 0 insertions, 0 deletions