Make sure swapBehavior is NoFlush (#2827)

This commit is contained in:
alasram
2024-09-12 15:35:59 -07:00
committed by GitHub
parent 1c07a9405a
commit 814e1015a8

View File

@@ -143,12 +143,13 @@ private:
std::shared_ptr<UpdateParameters> updateParameters;
std::mutex updateMutex;
bool framebufferSizeChanged = false;
std::atomic<bool> destroyed{false};
bool swapBehaviorFlush{true};
std::unique_ptr<SnapshotCallback> snapshotCallback;
mapbox::base::WeakPtrFactory<Scheduler> weakFactory{this};
bool framebufferSizeChanged = false;
bool swapBehaviorFlush = false;
};
} // namespace android