commit | 832b151465ed81c43e59891d5eebe62128b21fbb | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Wed May 07 14:39:44 2014 -0700 |
committer | John Reck <jreck@google.com> | Wed May 07 14:39:44 2014 -0700 |
tree | b631a4eab7c5b7b7f3d98e808e88bf0965c324cf | |
parent | ebb9e69513b690881a5bad7bf45c6f32e0fc7062 [diff] [blame] |
Cleanup attachFunctor Bug: 13961296 Change-Id: Id48d11bfcc234afd1fd7e4fdd409a50e7208c81d
diff --git a/libs/hwui/renderthread/CanvasContext.cpp b/libs/hwui/renderthread/CanvasContext.cpp index fc3548c..ca12736 100644 --- a/libs/hwui/renderthread/CanvasContext.cpp +++ b/libs/hwui/renderthread/CanvasContext.cpp
@@ -486,10 +486,7 @@ requireGlContext(); mode = DrawGlInfo::kModeProcess; } - // TODO: Remove the dummy info in the future - DrawGlInfo dummyInfo; - memset(&dummyInfo, 0, sizeof(DrawGlInfo)); - (*functor)(mode, &dummyInfo); + (*functor)(mode, NULL); if (mCanvas) { mCanvas->resume();