]> git.eshelyaron.com Git - emacs.git/commit
Implement gamma-correction on Haiku
authorPo Lu <luangruo@yahoo.com>
Wed, 18 May 2022 12:36:50 +0000 (12:36 +0000)
committerPo Lu <luangruo@yahoo.com>
Wed, 18 May 2022 12:37:54 +0000 (12:37 +0000)
commitd5540d7dbcee2a35dc928670ac210c5ffb909a75
tree45abcbd2fcb4c2ba71ee25389834e5d29ec869ab
parent3faba1dff6fa340033071e92309a1b112d58a7fa
Implement gamma-correction on Haiku

* src/dispextern.h: Add `gamma_correct' prototype on Haiku as
well.
* src/haikufns.c (gamma_correct): New function.
* src/haikuterm.c (haiku_defined_color): Gamma-correct colors if
their pixels are being allocated.
src/dispextern.h
src/haikufns.c
src/haikuterm.c