10 lines
227 B
Go
10 lines
227 B
Go
package x
|
|
|
|
import "image"
|
|
import "git.tebibyte.media/tomo/x/canvas"
|
|
import "git.tebibyte.media/tomo/tomo/canvas"
|
|
|
|
func (backend Backend) NewTexture (source image.Image) canvas.Texture {
|
|
return xcanvas.NewTextureFrom(source)
|
|
}
|