|
how many rows in a locked region |
William Labbett
Member #4,486
March 2004
|
Hi, I've not been programming using allegro for a while. I've forgotten a lot but I'm getting on alright except I've got question I didn't have before. When using an ALLEGRO_LOCKED_REGION I know that the pitch isn't necessarily the for(y = 0; y < al_get_bitmap_height(bitmap); ++y) { for(x = 0; x < locked_version_of_bitmap->pitch; ++x) { } } will work?
|
William Labbett
Member #4,486
March 2004
|
Thanks Edgar.
|
|