System no longer requires a NewCanvas method
This commit is contained in:
@@ -31,10 +31,6 @@ func (this *backendLink) NewTexture (source image.Image) canvas.TextureCloser {
|
||||
return this.backend.NewTexture(source)
|
||||
}
|
||||
|
||||
func (this *backendLink) NewCanvas (bounds image.Rectangle) canvas.Canvas {
|
||||
return this.backend.NewCanvas(bounds)
|
||||
}
|
||||
|
||||
func (this *backendLink) NewSurface (bounds image.Rectangle) (system.SurfaceLink, error) {
|
||||
// TODO
|
||||
return nil, errors.New("x: not implemented")
|
||||
|
||||
Reference in New Issue
Block a user