summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libs/gui/Surface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gui/Surface.cpp b/libs/gui/Surface.cpp
index b9a12ed..1bae0fe 100644
--- a/libs/gui/Surface.cpp
+++ b/libs/gui/Surface.cpp
@@ -72,7 +72,7 @@ Surface::Surface(
mTransformHint = 0;
mConsumerRunningBehind = false;
mConnectedToCpu = false;
- mProducerControlledByApp = true;
+ mProducerControlledByApp = controlledByApp;
mSwapIntervalZero = false;
}