graphics: Fix comments

Updates #983
This commit is contained in:
Hajime Hoshi 2019-11-16 01:54:17 +09:00
parent c60a32a479
commit 7ac1f62c52

View File

@ -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).
//