summaryrefslogtreecommitdiff
path: root/opengl/libagl/egl.cpp
diff options
context:
space:
mode:
author Jean-Baptiste Queru <jbq@google.com> 2010-06-15 07:49:05 -0700
committer Android Code Review <code-review@android.com> 2010-06-15 07:49:05 -0700
commitf4729d230c030926302da244f67b9ebe9a8ce9b0 (patch)
treeb1557a25efb78eab452c584b1224217f90ea8ea8 /opengl/libagl/egl.cpp
parent4b2005c9fbfb66a30e7c4549ef8e33c567f70fe7 (diff)
parenta409e195fefcfdc2672418d7ad058f3ff865999e (diff)
Merge "Use stride for source and target buffers when copybit is enabled."
Diffstat (limited to 'opengl/libagl/egl.cpp')
-rw-r--r--opengl/libagl/egl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/opengl/libagl/egl.cpp b/opengl/libagl/egl.cpp
index 81864bd791..9d6de72f4f 100644
--- a/opengl/libagl/egl.cpp
+++ b/opengl/libagl/egl.cpp
@@ -485,13 +485,13 @@ void egl_window_surface_v2_t::copyBlt(
copybit_device_t* const copybit = blitengine;
if (copybit) {
copybit_image_t simg;
- simg.w = src->width;
+ simg.w = src->stride;
simg.h = src->height;
simg.format = src->format;
simg.handle = const_cast<native_handle_t*>(src->handle);
copybit_image_t dimg;
- dimg.w = dst->width;
+ dimg.w = dst->stride;
dimg.h = dst->height;
dimg.format = dst->format;
dimg.handle = const_cast<native_handle_t*>(dst->handle);