From 90dd8bd88a13bf7fe4ee62f85010a019bba67dea Mon Sep 17 00:00:00 2001 From: Mathias Palmqvist Date: Wed, 2 Jun 2010 16:03:04 +0200 Subject: [PATCH] Use stride for source and target buffers when copybit is enabled. Change-Id: Ie651013b3522f8e004685d74190da86433086307 --- opengl/libagl/egl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opengl/libagl/egl.cpp b/opengl/libagl/egl.cpp index 662a1fa77bc9..5c09dcc1a10e 100644 --- a/opengl/libagl/egl.cpp +++ b/opengl/libagl/egl.cpp @@ -480,13 +480,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(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(dst->handle); -- 2.11.0