Hi all..
If I do the following :
***************************************************************************
  bp2=BmpCreate(dw,dh,deep,NULL,&err); //dw and dh <160

  loc =BmpGetBits(bp2);

for (i = 0; i < dh; i++)
{
   for (j=0;j<dw;j++)
   {
          *loc++ = i;
   }
}

WinDrawBitmap(bp2, 0, 0);
***************************************************************************
Depending on (dw,dh) sometimes I got a normal picture  (x, y and z are
colors) :
xxxxx
yyyyy
zzzzzz

And sometimes I got :
xxxxy
yyyzz
zz

Someone got an idea???
Thanks
Gilles


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

Reply via email to