From: Thomas Geymayer Date: Sat, 21 Jun 2014 11:09:29 +0000 (+0200) Subject: ShivaVG: fix call to shCopyPixels. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bd9fa7017fc40ed625489064081c5187e07f9993;p=simgear.git ShivaVG: fix call to shCopyPixels. It is not used anyhow, but just in case... --- 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