doodle/pkg/native/engine_wasm.go

18 lines
272 B
Go

// +build js,wasm
package native
import (
"image"
"git.kirsle.net/go/render"
)
func HasTouchscreen(e render.Engine) bool {
return false
}
func TextToImage(e render.Engine, text render.Text) (image.Image, error) {
return nil, errors.New("not supported on WASM")
}