Liste des Groupes | Revenir à cl c |
Michael S wrote:On Wed, 20 Mar 2024 00:03:04 +0100some thread safe as previous,
fir <fir@grunge.pl> wrote:im not quite sure what you do here.. pass the structure? in fact>
the thing you name context you may not pass at all just make is
standalone static variables becouse they/it is the same for whole
"branch" (given recursive branch of recolorisation)
>
something like
>
int old_color = 0xff0000;
int new_color = 0x00ff00;
>
void RecolorizePixelAndAdjacentPixels(int x, int y)
{
//...
}
>
Not thred-safe.
Les messages affichés proviennent d'usenet.