Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
704 B

  1. /******************************Module*Header*******************************\
  2. * Module Name: span3.h
  3. *
  4. * This code advances all the values for the next pixel
  5. *
  6. * 14-Oct-1994 mikeke Created
  7. *
  8. * Copyright (c) 1994 Microsoft Corporation
  9. \**************************************************************************/
  10. #if (SHADE) || !(RGBMODE)
  11. rAccum += rDelta;
  12. #if RGBMODE
  13. gAccum += gDelta;
  14. bAccum += bDelta;
  15. #endif
  16. #endif
  17. #if TEXTURE
  18. sAccum += sDelta;
  19. tAccum += tDelta;
  20. #endif
  21. #if GENERIC || ((DITHER) && (BPP == 24))
  22. iDither = (iDither + 1) & 0x3;
  23. #endif
  24. pPix += (BPP / 8);