From bd9fa7017fc40ed625489064081c5187e07f9993 Mon Sep 17 00:00:00 2001 From: Thomas Geymayer Date: Sat, 21 Jun 2014 13:09:29 +0200 Subject: [PATCH] ShivaVG: fix call to shCopyPixels. It is not used anyhow, but just in case... --- simgear/canvas/ShivaVG/src/shImage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simgear/canvas/ShivaVG/src/shImage.c b/simgear/canvas/ShivaVG/src/shImage.c index 52ecc411..0310fc5c 100644 --- a/simgear/canvas/ShivaVG/src/shImage.c +++ b/simgear/canvas/ShivaVG/src/shImage.c @@ -917,7 +917,7 @@ VG_API_CALL void vgGetImageSubData(VGImage image, shCopyPixels(data, dataFormat, dataStride, i->data, i->fd.vgformat, i->texwidth * i->fd.bytes, width, height, i->width, i->height, - 0,0,x,x,width,height); + 0,0,x,y,width,height); VG_RETURN(VG_NO_RETVAL); #endif // SH_NO_IMAGE -- 2.39.5