Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1307)

Unified Diff: remoting/host/capturer_mac.cc

Issue 7565025: Use correct OpenGL test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/capturer_mac.cc
diff --git a/remoting/host/capturer_mac.cc b/remoting/host/capturer_mac.cc
index 0e0b90eefd499f582d4695f8c2986e5220f93b7f..bb9f8591672e041e2ee6d478a244912596f28ecb 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;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698