mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
parent
c60a32a479
commit
7ac1f62c52
4
image.go
4
image.go
@ -432,8 +432,8 @@ func (i *Image) Dispose() error {
|
||||
//
|
||||
// The given p must represent RGBA pre-multiplied alpha values. len(p) must equal to 4 * (image width) * (image height).
|
||||
//
|
||||
// ReplacePixels takes the ownership of the given p. This means that p must not be modified after ReplacePixels is
|
||||
// called.
|
||||
// As of 1.11.0-alpha, ReplacePixels takes the ownership of the given p. This means that p must not be modified
|
||||
// after ReplacePixels is called.
|
||||
//
|
||||
// ReplacePixels may be slow (as for implementation, this calls glTexSubImage2D).
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user