diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2021-02-28 13:31:49 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2021-02-28 13:31:49 +0100 |
commit | be782ef4357465e608db4123d21c3eeb14a2a110 (patch) | |
tree | 72dce0cadae86ca02ded9b8764440012c6b4b416 /sys/src/libc | |
parent | f704965a457bd9766af9b929dbf30941cdfd9e52 (diff) |
bcm: change color chan to RGB24 (thanks p.kosyh)
p.kosyh writes:
Hello! I finally bought rpi4 4Gb specially for 9front. It seems,
that default bpp of framebuffer is 16. I changed it to 24 (via
cmdline.txt and config.txt) and found, that rendering is much faster!
(May be due removing overheads in 16->24 conversions?)
But on rpi4 r and b channels are swapped. So, i changed BGR24 to
RGB24 in bcm/screen.c and now it works fine!
Diffstat (limited to 'sys/src/libc')
0 files changed, 0 insertions, 0 deletions