Re: [AD] getpixel error |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
On Sat, 2009-01-17 at 11:26 -0200, frederico schardong wrote: > for(x = 0; x < imagem->h; x++) > for(y = 0; y < imagem->w; y++){ > matrizPixel[x][y] = getpixel(imagem, x, y); > > What's my error? > You swapped imagem->w and imagem->h. -- Elias Pschernig <elias@xxxxxxxxxx>
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |