all: update comments

This commit is contained in:
Hajime Hoshi 2023-02-07 12:05:43 +09:00
parent da54f19df5
commit 8864ce1291
4 changed files with 4 additions and 4 deletions

View File

@ -39,7 +39,7 @@ func (g *Game) Draw(screen *ebiten.Image) {
}
func (g *Game) Layout(width, height int) (int, int) {
// Ebiten's image function should be able to be called even in Layout.
// Ebitengine's image function should be able to be called even in Layout.
done := make(chan struct{})
timeout := time.After(time.Second)
go func() {

View File

@ -24,7 +24,7 @@
// to make more room on GPU memory.
// This can happen e.g. when GPU memory usage is high, or just switching applications
// might cause context lost on mobiles.
// As Ebiten's image data is on GPU memory, the game can't continue when context lost happens
// As Ebitengine's image data is on GPU memory, the game can't continue when context lost happens
// without restoring image information.
// The package restorable is the package to record information for such restoring.
//

View File

@ -89,7 +89,7 @@ func videoModeScaleUncached(m *glfw.Monitor) float64 {
// Note: GLFW currently returns physical pixel sizes,
// but we need to predict the window system-side size of the fullscreen window
// for Ebiten's `ScreenSizeInFullscreen` public API.
// for Ebitengine's `ScreenSizeInFullscreen` public API.
// Also at the moment we need this prior to switching to fullscreen, but that might be replaceable.
// So this function computes the ratio of physical per logical pixels.
xconn, err := xgb.NewConn()

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// Package text offers functions to draw texts on an Ebiten's image.
// Package text offers functions to draw texts on an Ebitengine's image.
//
// For the example using a TTF font, see font package in the examples.
package text