diff options
author | Tor Lillqvist <tml@collabora.com> | 2016-08-01 20:38:57 +0300 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2016-08-23 15:41:49 +0200 |
commit | ccbc277d66589f1ffbf3c487634267bc6f64c470 (patch) | |
tree | 1a54fbe93300cb97a9d20b388a96325534c9e240 | |
parent | 99512804d2614014831be31f488d17250554d9bc (diff) |
Look also for "RDPDD Chained DD"
Apparently in some remote desktop situations the device string uses
"RDPDD" and not "RDPUDD". No idea what the semantic difference is.
Change-Id: I85532b90d759d02fffb73d0f3d22166aefd4edab
(cherry picked from commit 1acd165eae7bf39ec89694fa85195b7e56278ef1)
-rw-r--r-- | vcl/opengl/win/WinDeviceInfo.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/opengl/win/WinDeviceInfo.cxx b/vcl/opengl/win/WinDeviceInfo.cxx index 773c52e337ee..fd95da671b62 100644 --- a/vcl/opengl/win/WinDeviceInfo.cxx +++ b/vcl/opengl/win/WinDeviceInfo.cxx @@ -651,7 +651,8 @@ void WinOpenGLDeviceInfo::GetData() maDeviceString = displayDevice.DeviceString; if (maDeviceID.isEmpty() && - maDeviceString == "RDPUDD Chained DD") + (maDeviceString == "RDPDD Chained DD" || + (maDeviceString == "RDPUDD Chained DD"))) { // we need to block RDP as it does not provide OpenGL 2.1+ mbRDP = true; |