windows-nt/Source/XPSP1/NT/multimedia/opengl/server/inc/span3.h
2020-09-26 16:20:57 +08:00

29 lines
676 B
C

/******************************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);