mirror of https://github.com/tongzx/nt5src
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
676 B
28 lines
676 B
/******************************Module*Header*******************************\
|
|
* Module Name: span3.h
|
|
*
|
|
* This code advances all the values for the next pixel
|
|
*
|
|
* 14-Oct-1994 mikeke Created
|
|
*
|
|
* Copyright (c) 1994 Microsoft Corporation
|
|
\**************************************************************************/
|
|
|
|
#if (SHADE) || !(RGBMODE)
|
|
rAccum += rDelta;
|
|
#if RGBMODE
|
|
gAccum += gDelta;
|
|
bAccum += bDelta;
|
|
#endif
|
|
#endif
|
|
|
|
#if TEXTURE
|
|
sAccum += sDelta;
|
|
tAccum += tDelta;
|
|
#endif
|
|
|
|
#if GENERIC || ((DITHER) && (BPP == 24))
|
|
iDither = (iDither + 1) & 0x3;
|
|
#endif
|
|
|
|
pPix += (BPP / 8);
|