diff options
| -rw-r--r-- | services/surfaceflinger/EventThread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/EventThread.cpp b/services/surfaceflinger/EventThread.cpp index d86c28090f..21634ee973 100644 --- a/services/surfaceflinger/EventThread.cpp +++ b/services/surfaceflinger/EventThread.cpp @@ -170,7 +170,7 @@ bool EventThread::threadLoop() { } // wait for something to happen - if (mUseSoftwareVSync == true) { + if (mUseSoftwareVSync && waitForNextVsync) { // h/w vsync cannot be used (screen is off), so we use // a timeout instead. it doesn't matter how imprecise this // is, we just need to make sure to serve the clients |