summaryrefslogtreecommitdiffstats
path: root/opengl/libagl
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2010-06-21 11:23:45 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2010-06-21 11:23:45 -0700
commit6c9a30045b1e6b9ef5d756e0a9657576c546c9bd (patch)
treea80b14a0c4c0b0d3014e6009e66508cdcef5966d /opengl/libagl
parent0fcfa0a53f92f32d50870c246763da30a106d13a (diff)
parent7d10df4e2402c55dc827cb6675a15957071c00af (diff)
downloadframeworks_base-6c9a30045b1e6b9ef5d756e0a9657576c546c9bd.zip
frameworks_base-6c9a30045b1e6b9ef5d756e0a9657576c546c9bd.tar.gz
frameworks_base-6c9a30045b1e6b9ef5d756e0a9657576c546c9bd.tar.bz2
merge from froyo-plus-aosp
Change-Id: I36dd4460cae6e3212d724e70ff1091cb791670cd
Diffstat (limited to 'opengl/libagl')
-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 7cb01d0..a7a37f8 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);