diff options
author | jamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-04 01:23:22 +0000 |
---|---|---|
committer | jamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-04 01:23:22 +0000 |
commit | c59c34bab824c128f2adf3f270586192397284af (patch) | |
tree | 11058eff37e5153578eb299df27d95cf34e21be2 /remoting/host/capturer_mac.cc | |
parent | 01d9afbc808cc602005d3ace00293f47540fa116 (diff) | |
download | chromium_src-c59c34bab824c128f2adf3f270586192397284af.zip chromium_src-c59c34bab824c128f2adf3f270586192397284af.tar.gz chromium_src-c59c34bab824c128f2adf3f270586192397284af.tar.bz2 |
Use correct OpenGL test.
BUG=91619
TEST=Manual
Review URL: http://codereview.chromium.org/7565025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95364 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/capturer_mac.cc')
-rw-r--r-- | remoting/host/capturer_mac.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/host/capturer_mac.cc b/remoting/host/capturer_mac.cc index 0e0b90ee..bb9f8591 100644 --- a/remoting/host/capturer_mac.cc +++ b/remoting/host/capturer_mac.cc @@ -249,7 +249,7 @@ void CapturerMac::ScreenConfigurationChanged() { int height = CGDisplayPixelsHigh(mainDevice); InvalidateScreen(gfx::Size(width, height)); - if (CGDisplayIsBuiltin(mainDevice)) { + if (!CGDisplayUsesOpenGLAcceleration(mainDevice)) { VLOG(3) << "OpenGL support not available."; return; } |