System no longer requires a NewCanvas method
This commit is contained in:
@@ -15,8 +15,6 @@ type System struct {
|
||||
type BackendLink interface {
|
||||
// NewTexture creates a new texture from an image.
|
||||
NewTexture (image.Image) canvas.TextureCloser
|
||||
// NewCanvas creates a new blank canvas with the specified bounds.
|
||||
NewCanvas (image.Rectangle) canvas.Canvas
|
||||
// NewSurface creates a new surface with the specified bounds.
|
||||
NewSurface (image.Rectangle) (SurfaceLink, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user