From: Geert U. <ge...@li...> - 2001-06-19 14:40:50
|
On Tue, 19 Jun 2001, Sven LUTHER wrote: > On Tue, Jun 19, 2001 at 04:03:59PM +0200, Geert Uytterhoeven wrote: > > On Tue, 19 Jun 2001, Sven LUTHER wrote: > > > And the correct thing to do is ? > > > > EXOR with 15 for pseudocolor > > mmm, so in the accelerated case, doing a Invert logical op with the writemask > set to 0x0f0f0f0f (that is only inverting the lower 4 bits of each pixels) > should od the trick. > > BTW, forgive me if i am being stupid, but why not doing a bitwise not ? Because that would invert too many bits. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li... In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds |