diff options
author | Andre de la Rocha <andre.rocha@qt.io> | 2018-08-15 20:35:28 +0200 |
---|---|---|
committer | Andre de la Rocha <andre.rocha@qt.io> | 2018-08-23 09:32:32 +0000 |
commit | 38cb72b6fd34142785d0f791218d39ccafcfe84f (patch) | |
tree | 4cfe093af8b10a9b87c2b8e5701379aead2ad44b /src/plugins/printsupport/cups/qcupsprintersupport.cpp | |
parent | c9c770d775842a6c8ab60f951de25dd32b0bdb1e (diff) |
Windows QPA: Force windows to the main screen in certain AMD GPU setups
A multi-screen setup with an AMD adapter set as the 'main display' leads
to using the AMD drivers for OpenGL. This then causes a crash when calling
SetPixelFormat and similar for windows located on another adapter's
screen. This workaround detects the conditions leading to the crash and moves
the window to the main display.
Task-number: QTBUG-50371
Change-Id: I4007c490bdcdc13d6e8bce82983b150aa4930338
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/plugins/printsupport/cups/qcupsprintersupport.cpp')
0 files changed, 0 insertions, 0 deletions