Global gamma.

Randomcycle palette bugfix.
This commit is contained in:
Blaz Kristan
2022-09-04 20:17:05 +02:00
parent 42d1ab8a87
commit 787f5f06df
11 changed files with 40 additions and 46 deletions

View File

@@ -358,7 +358,7 @@ uint8_t gamma8(uint8_t b)
uint32_t gamma32(uint32_t color)
{
//if (!strip.gammaCorrectCol) return color;
if (!gammaCorrectCol) return color;
uint8_t w = W(color);
uint8_t r = R(color);
uint8_t g = G(color);