[Libreoffice-commits] core.git: vcl/opengl
Tor Lillqvist
tml at collabora.com
Mon Aug 1 17:43:30 UTC 2016
vcl/opengl/win/WinDeviceInfo.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 1acd165eae7bf39ec89694fa85195b7e56278ef1
Author: Tor Lillqvist <tml at collabora.com>
Date: Mon Aug 1 20:38:57 2016 +0300
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
diff --git a/vcl/opengl/win/WinDeviceInfo.cxx b/vcl/opengl/win/WinDeviceInfo.cxx
index b2d5bff..bdafb6e 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;
More information about the Libreoffice-commits
mailing list