Swap in the Riverdi RVT70 panel, flip the rotation, and stop ^C orphaning harness runs
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user