From 3a8aff659bbd32543f28f796f59b6225f1011876 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 16 Jun 2015 17:14:42 +0300 Subject: Drop duplicated statements In the original Mozilla code the statements differed, as there were separate ones for FEATURE_OPENGL_LAYERS and FEATURE_WEBGL_OPENGL. These two uses have been combined here. Change-Id: Idc2533f23d48761249a905b298b1ebbfde0e3a54 --- vcl/opengl/win/WinDeviceInfo.cxx | 9 --------- 1 file changed, 9 deletions(-) (limited to 'vcl/opengl/win') diff --git a/vcl/opengl/win/WinDeviceInfo.cxx b/vcl/opengl/win/WinDeviceInfo.cxx index 33360c457f9d..91033243abec 100644 --- a/vcl/opengl/win/WinDeviceInfo.cxx +++ b/vcl/opengl/win/WinDeviceInfo.cxx @@ -1120,12 +1120,6 @@ void WinOpenGLDeviceInfo::FillBlacklist() APPEND_TO_DRIVER_BLOCKLIST2( wgl::DRIVER_OS_ALL, GetDeviceVendor(wgl::VendorATI), wgl::DriverInfo::allDevices, wgl::DRIVER_LESS_THAN, wgl::DriverInfo::allDriverVersions ); - APPEND_TO_DRIVER_BLOCKLIST2( wgl::DRIVER_OS_ALL, - GetDeviceVendor(wgl::VendorATI), wgl::DriverInfo::allDevices, - wgl::DRIVER_LESS_THAN, wgl::DriverInfo::allDriverVersions ); - APPEND_TO_DRIVER_BLOCKLIST2( wgl::DRIVER_OS_ALL, - GetDeviceVendor(wgl::VendorAMD), wgl::DriverInfo::allDevices, - wgl::DRIVER_LESS_THAN, wgl::DriverInfo::allDriverVersions ); APPEND_TO_DRIVER_BLOCKLIST2( wgl::DRIVER_OS_ALL, GetDeviceVendor(wgl::VendorAMD), wgl::DriverInfo::allDevices, wgl::DRIVER_LESS_THAN, wgl::DriverInfo::allDriverVersions ); @@ -1175,9 +1169,6 @@ void WinOpenGLDeviceInfo::FillBlacklist() APPEND_TO_DRIVER_BLOCKLIST2( wgl::DRIVER_OS_ALL, GetDeviceVendor(wgl::VendorIntel), wgl::DriverInfo::allDevices, wgl::DRIVER_LESS_THAN, wgl::DriverInfo::allDriverVersions ); - APPEND_TO_DRIVER_BLOCKLIST2( wgl::DRIVER_OS_ALL, - GetDeviceVendor(wgl::VendorIntel), wgl::DriverInfo::allDevices, - wgl::DRIVER_LESS_THAN, wgl::DriverInfo::allDriverVersions ); /** * Disable acceleration on Intel HD 3000 for graphics drivers <= 8.15.10.2321. -- cgit v1.2.3