Hi,

I'm trying to convert a simple 8bit or 16bit bitmap to a V3 Double Density.
but when i draw the new V3 bitmap it shows me a broken image.

here is the definition used in my PilRC file :

BITMAPCOLOR ID skinButtonGameAddNormal "pics/skinButtonGameAddNormal.bmp"
COMPRESS


and the code :

      BitmapTypeV3 *bmp2P;
      bmp2P = BmpCreateBitmapV3(bmpTemp, kDensityDouble,
BmpGetBits(bmpTemp), NULL);

      WinDrawBitmap((BitmapPtr)bmp2P,  0, 0);
      BmpDelete((BitmapPtr)bmp2P);

Any idea ?
Thanks
Chris




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to