mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
Bug fix: image comment
This commit is contained in:
parent
3b02993a5d
commit
0332b8d5ed
2
image.go
2
image.go
@ -205,7 +205,7 @@ func (i *Image) ColorModel() color.Model {
|
||||
|
||||
// At returns the color of the image at (x, y).
|
||||
//
|
||||
// This method loads pixels from GPU to VRAM if necessary.
|
||||
// This method loads pixels from VRAM to system memory if necessary.
|
||||
func (i *Image) At(x, y int) color.Color {
|
||||
if i.pixels == nil {
|
||||
ui.Use(func(c *opengl.Context) {
|
||||
|
Loading…
Reference in New Issue
Block a user