diff options
Diffstat (limited to 'libs/hwui/OpenGLReadback.cpp')
-rw-r--r-- | libs/hwui/OpenGLReadback.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/OpenGLReadback.cpp b/libs/hwui/OpenGLReadback.cpp index 938b6efa7901..c460c0d2dfd4 100644 --- a/libs/hwui/OpenGLReadback.cpp +++ b/libs/hwui/OpenGLReadback.cpp @@ -19,7 +19,7 @@ #include "Caches.h" #include "Image.h" #include "GlopBuilder.h" -#include "Layer.h" +#include "GlLayer.h" #include "renderstate/RenderState.h" #include "renderthread/EglManager.h" #include "utils/GLUtils.h" @@ -262,7 +262,7 @@ CopyResult OpenGLReadbackImpl::copyImageInto(EGLImageKHR eglImage, } bool OpenGLReadbackImpl::copyLayerInto(renderthread::RenderThread& renderThread, - Layer& layer, SkBitmap* bitmap) { + GlLayer& layer, SkBitmap* bitmap) { return CopyResult::Success == copyTextureInto(Caches::getInstance(), renderThread.renderState(), layer.getTexture(), layer.getTexTransform(), Rect(), bitmap); |