Fix misspellings

This commit is contained in:
Hajime Hoshi 2019-08-01 01:07:19 +09:00
parent de915a1736
commit 2003b7d292
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ import (
var (
glContextCh = make(chan gl.Context)
// renderCh recieves when updating starts.
// renderCh receives when updating starts.
renderCh = make(chan struct{})
// renderEndCh receives when updating finishes.

View File

@ -164,7 +164,7 @@ func (m *mipmap) mipmapLevel(geom *GeoM, width, height int, filter driver.Filter
// It looks like 128 is the enlargement factor that causes edge missings to pass the test TestImageStretch.
const tooBigScale = 128
if sx, sy := geomScaleSize(geom); sx >= tooBigScale || sy >= tooBigScale {
// If the filter is not nearest, the target needs to be rendered with gradiation. Don't use mipmaps.
// If the filter is not nearest, the target needs to be rendered with graduation. Don't use mipmaps.
if filter != driver.FilterNearest {
return 0
}