summaryrefslogtreecommitdiffstats
path: root/src/plugins/printsupport/cups/qcupsprintersupport.cpp
diff options
context:
space:
mode:
authorAndre de la Rocha <andre.rocha@qt.io>2018-08-15 20:35:28 +0200
committerAndre de la Rocha <andre.rocha@qt.io>2018-08-23 09:32:32 +0000
commit38cb72b6fd34142785d0f791218d39ccafcfe84f (patch)
tree4cfe093af8b10a9b87c2b8e5701379aead2ad44b /src/plugins/printsupport/cups/qcupsprintersupport.cpp
parentc9c770d775842a6c8ab60f951de25dd32b0bdb1e (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