
The function modifies the pixels pointed by p in-place so the pointer can not be constant. The compiler was accepting this because the modification is done from inline assembler.
The function modifies the pixels pointed by p in-place so the pointer can not be constant. The compiler was accepting this because the modification is done from inline assembler.