Swap in the Riverdi RVT70 panel, flip the rotation, and stop ^C orphaning harness runs

This commit is contained in:
flamingcow
2026-08-28 21:04:55 -07:00
parent e3de27a251
commit 2166a456a3
12 changed files with 1719 additions and 10 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ func decode(buf []byte, pitch, pw, ph int) *image.NRGBA {
img := image.NewNRGBA(image.Rect(0, 0, ph, pw))
for x := 0; x < ph; x++ {
for y := 0; y < pw; y++ {
o := drm.Offset(x, y, pitch, pw)
o := drm.Offset(x, y, pitch, ph)
v := uint32(buf[o]) | uint32(buf[o+1])<<8 |
uint32(buf[o+2])<<16 | uint32(buf[o+3])<<24
r, g, b := drm.Unpack(v)