*.c addendum

a guest Jan 24th, 2020 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /8cZ4Du0S
  3.     struct iPict R; allociPict(&R,zHt,zWd);
  4.     struct iPict G; allociPict(&G,zHt,zWd);
  5.     struct iPict B; allociPict(&B,zHt,zWd);
  6.     //dithering
  7.     pixelFunction(&R,&G,&B,zHt,zWd,0,0,0);
  9. the 'struct' calls will always be clean to me. It will load an 800x600 image without segmentation faults. The next call will trigger segmentation faults.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand