X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Frasterize;a=blobdiff_plain;f=config.h;h=cc552c2907a885854a55d21580d0daa06bfa819f;hp=593043940e31b6d99d399aa27b27e54fc7510336;hb=95850b98f73ad7033af60a30e324e9c3cda55389;hpb=a0e6abd72f045a741fb1ecdd1c2d11281f2840b9 diff --git a/config.h b/config.h index 5930439..cc552c2 100644 --- a/config.h +++ b/config.h @@ -21,6 +21,17 @@ #define IF_BACKFACE_CULLING(X) #endif +/* + * BLENDING + * If enabled, the blending function Crgb = (1 - Sa)Drgb + (Sa)Srgb is + * applied when determing color on the raster. + */ +#if BLENDING +#define IF_BLENDING(X) X +#else +#define IF_BLENDING(X) +#endif + /* * CLIPPING * If enabled, triangles will be not be drawn if they are entirely outside of