diff options
author | Tor Lillqvist <tml@collabora.com> | 2016-08-01 20:38:57 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-08-01 20:38:57 +0300 |
commit | 1acd165eae7bf39ec89694fa85195b7e56278ef1 (patch) | |
tree | 84afce8a70538e8bd32d9c535b0174be1252396f /vcl/opengl | |
parent | af2eed716fbf5e78a5f41d7055b69d74643850ed (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
Diffstat (limited to 'vcl/opengl')
-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 b2d5bff31110..bdafb6ef7a14 100644 --- a/vcl/opengl/win/WinDeviceInfo.cxx +++ b/vcl/opengl/win/WinDeviceInfo.cxx @@ -604,7 +604,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; |