> thanks Aaron, at first, i wanted just to reply to you saying that i know
> that the method needs a pointer, because the compiler will give me an error,
> and i already done it with a pointer using :
> DWord depth = 0x08;
> DWordPtr depthP = &depth;
> 
> BUT, i tried it, and it works, but the problem wasn't on the pointer, it was
> on the 0x08.
> when i wrote "4" it works.
> now i have two problems :
> 1) probably with freeing  the memory, but i'll look at it myself.
> 2) when i draw my bitmap, the rest of the screen went blank, and when i used
>    1 bit bitmap, its ok, any ideas ?

  i use 1, 2 and 4bpp bitmaps in my code.. no problems :) how are you
  generating the bitmaps? using PilRC?
 
> why the 0x08 didn't work ?

  0x08 = 8 = 8 bpp = 256 colors :)

  if you want 4 bit grayscale, then.. you need to use "4" :)

// az
[EMAIL PROTECTED]
http://www.ardiri.com/    <--- free games!


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

Reply via email to