| 125 | } |
| 126 | |
| 127 | void DecreaseGamma() |
| 128 | { |
| 129 | if (gamma_correction > 30) { |
| 130 | gamma_correction -= 5; |
| 131 | if (gamma_correction < 30) |
| 132 | gamma_correction = 30; |
| 133 | ApplyGamma(system_palette, logical_palette, 256); |
| 134 | palette_update(); |
| 135 | } |
| 136 | } |
| 137 | |
| 138 | int UpdateGamma(int gamma) |
| 139 | { |
no test coverage detected