]> git.mxchange.org Git - simgear.git/commitdiff
ShivaVG: fix call to shCopyPixels.
authorThomas Geymayer <tomgey@gmail.com>
Sat, 21 Jun 2014 11:09:29 +0000 (13:09 +0200)
committerThomas Geymayer <tomgey@gmail.com>
Sat, 21 Jun 2014 11:09:29 +0000 (13:09 +0200)
It is not used anyhow, but just in case...

simgear/canvas/ShivaVG/src/shImage.c

index 52ecc41148b8a88fa22d848186d0c32b6f202899..0310fc5c6a421f03983a6a990c50b0d625abe1a7 100644 (file)
@@ -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