diff options
author | John Reck <jreck@google.com> | 2015-02-20 10:57:22 -0800 |
---|---|---|
committer | John Reck <jreck@google.com> | 2015-02-20 10:58:48 -0800 |
commit | c87be99c6ead0720a8918ea38ce3b25e5c49e1c6 (patch) | |
tree | 017c6aa6e000f52b0b579444e32336999912b656 /libs/hwui/renderthread/DrawFrameTask.cpp | |
parent | df570c6e66d98536597737f863430510b6336ffe (diff) |
C++11 style fixups
Change-Id: I356d02338820bfef41a9e278c88dafc17cfe1cf9
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
-rw-r--r-- | libs/hwui/renderthread/DrawFrameTask.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/hwui/renderthread/DrawFrameTask.cpp b/libs/hwui/renderthread/DrawFrameTask.cpp index 679a00f341ee..f48ee414871f 100644 --- a/libs/hwui/renderthread/DrawFrameTask.cpp +++ b/libs/hwui/renderthread/DrawFrameTask.cpp @@ -114,7 +114,8 @@ void DrawFrameTask::run() { bool DrawFrameTask::syncFrameState(TreeInfo& info) { ATRACE_CALL(); - mRenderThread->timeLord().vsyncReceived(mFrameInfo[FrameInfoIndex::kVsync]); + int64_t vsync = mFrameInfo[static_cast<int>(FrameInfoIndex::kVsync)]; + mRenderThread->timeLord().vsyncReceived(vsync); mContext->makeCurrent(); Caches::getInstance().textureCache.resetMarkInUse(); |