vgDrawImage is not working please help!
hi i am using alexvg implementation of openvg with destination surface being rgb565, i need to draw a 565 image on this surface so i wrote following code, but its not drawing anything can somebody please help
im = vgCreateImage(VG_sRGB_565 , b_rev->rectW, b_rev->rectH, VG_IMAGE_QUALITY_BETTER);
vgImageSubData(im, b_rev->pBits, 2*b_rev->rectW, VG_sRGB_565,0, 0,b_rev->rectW, b_rev->rectH);
vgSeti ( VG_IMAGE_QUALITY, VG_IMAGE_QUALITY_FASTER );
but nothings coming up so i am drawing images through drawing paint patterns and it works, please help me with vgDrawImage(), b_rev is the bitmap to be drawn.
Re: vgDrawImage is not working please help!
...and where is your paint? maybe your image is multiplied by zero?