mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 20:18:59 +01:00
graphics: Add doc about error to struct Image (#331)
This commit is contained in:
parent
6b70adf23b
commit
a7d844ce5e
2
image.go
2
image.go
@ -132,6 +132,8 @@ func (i *images) clearVolatileImages() {
|
|||||||
// Image represents an image.
|
// Image represents an image.
|
||||||
// The pixel format is alpha-premultiplied.
|
// The pixel format is alpha-premultiplied.
|
||||||
// Image implements image.Image.
|
// Image implements image.Image.
|
||||||
|
//
|
||||||
|
// Functions of Image never returns error as of 1.5.0-alpha, and error values are always nil.
|
||||||
type Image struct {
|
type Image struct {
|
||||||
impl *imageImpl
|
impl *imageImpl
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user