uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit 2acc7edb6f6fcad2c66931271a6e25a02c018735
parent d043ce633dde6a3210a1bfe5fdc2645c0b429e49
Author: Devine Lu Linvega <aliceffekt@gmail.com>
Date:   Thu, 13 Apr 2023 09:53:05 -0700

Added comment for blending LUT

Diffstat:
Msrc/devices/screen.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/devices/screen.c b/src/devices/screen.c @@ -16,6 +16,8 @@ WITH REGARD TO THIS SOFTWARE. UxnScreen uxn_screen; +/* c = !ch ? (color % 5 ? color >> 2 : 0) : color % 4 + ch == 1 ? 0 : (ch - 2 + (color & 3)) % 3 + 1; */ + static Uint8 blending[4][16] = { {0, 0, 0, 0, 1, 0, 1, 1, 2, 2, 0, 2, 3, 3, 3, 0}, {0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3},