i swear it should work

This commit is contained in:
potassium 2025-01-26 06:07:51 +03:00
parent 39c3a411ae
commit 930ed283a2

View File

@ -30,7 +30,8 @@ func resolution() (w int, h int) {
func init() { func init() {
Width, Height = resolution() Width, Height = resolution()
devfb, err := os.OpenFile("/dev/fb", os.O_WRONLY, os.ModePerm) var err error
devfb, err = os.OpenFile("/dev/fb", os.O_WRONLY, os.ModePerm)
if err != nil { if err != nil {
panic(err) panic(err)
} }