summaryrefslogtreecommitdiffstats
path: root/opengl/libagl
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2010-06-15 11:34:57 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2010-06-15 11:34:57 -0700
commit0acbc14307d69dccf7749fff9239d224523799a4 (patch)
treedb09ecd886d4c41aab785f04ba7350d9b1ca19df /opengl/libagl
parent14e2e18666265bd86e67f90995d5ede299beedfa (diff)
parentf4729d230c030926302da244f67b9ebe9a8ce9b0 (diff)
downloadframeworks_native-0acbc14307d69dccf7749fff9239d224523799a4.zip
frameworks_native-0acbc14307d69dccf7749fff9239d224523799a4.tar.gz
frameworks_native-0acbc14307d69dccf7749fff9239d224523799a4.tar.bz2
merge from open-source master
Change-Id: I12af4b88c1881a6a120031459bc63d87b1dd4956
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 b6e0aae..79c5ecb 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);