summaryrefslogtreecommitdiffstats
path: root/vcl/opengl/win
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-08-01 20:38:57 +0300
committerTor Lillqvist <tml@collabora.com>2016-08-01 20:38:57 +0300
commit1acd165eae7bf39ec89694fa85195b7e56278ef1 (patch)
tree84afce8a70538e8bd32d9c535b0174be1252396f /vcl/opengl/win
parentlok: re-load UNO bootstrap pieces and set UserInstallation on second init. (diff)
downloadcore-1acd165eae7bf39ec89694fa85195b7e56278ef1.tar.gz
core-1acd165eae7bf39ec89694fa85195b7e56278ef1.zip
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/win')
-rw-r--r--vcl/opengl/win/WinDeviceInfo.cxx3
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;