mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
Fix misspellings
This commit is contained in:
parent
de915a1736
commit
2003b7d292
@ -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.
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user