diff options
| author | NeoBrainX <NeoBrainX@gmail.com> | 2013-03-28 22:59:42 +0100 |
|---|---|---|
| committer | NeoBrainX <NeoBrainX@gmail.com> | 2013-03-28 23:00:19 +0100 |
| commit | c10d9ea87a46fe5a86f80ccd896062875056cf5b (patch) | |
| tree | 00b251dba4dc3c23e66a2c92e8b7da27c585e59f /Source/Core/VideoCommon | |
| parent | 8a33d49de2152a608fb980e37d7bbf1d40177623 (diff) | |
Clean up blending code a bit.
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/Src/BPMemory.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/BPMemory.h b/Source/Core/VideoCommon/Src/BPMemory.h index 1a29439b36..f0d0a502ed 100644 --- a/Source/Core/VideoCommon/Src/BPMemory.h +++ b/Source/Core/VideoCommon/Src/BPMemory.h @@ -621,6 +621,17 @@ union X10Y10 // Framebuffer/pixel stuff (incl fog) +#define GX_BL_ZERO 0 +#define GX_BL_ONE 1 +#define GX_BL_SRCCLR 2 // for dst factor +#define GX_BL_INVSRCCLR 3 // for dst factor +#define GX_BL_SRCALPHA 4 +#define GX_BL_INVSRCALPHA 5 +#define GX_BL_DSTALPHA 6 +#define GX_BL_INVDSTALPHA 7 +#define GX_BL_DSTCLR GX_BL_SRCCLR // for src factor +#define GX_BL_INVDSTCLR GX_BL_INVSRCCLR // for src factor + union BlendMode { struct |
