From c79b2c793a75fea00e5125a1a8f97c8d7f6e07d1 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sat, 22 Oct 2022 16:15:13 +0900 Subject: [PATCH] ebiten: update comments --- window.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/window.go b/window.go index 3aad808ee..577dbe8fb 100644 --- a/window.go +++ b/window.go @@ -175,7 +175,8 @@ func initializeWindowPositionIfNeeded(width, height int) { // WindowSize returns the window size on desktops. // WindowSize returns (0, 0) on other environments. // -// WindowSize returns the original window size in fullscreen mode. +// Even if the application is in fullscreen mode, WindowSize returns the original window size +// If you need the fullscreen dimensions, see ScreenSizeInFullscreen instead. // // WindowSize is concurrent-safe. func WindowSize() (int, int) { @@ -185,7 +186,7 @@ func WindowSize() (int, int) { // SetWindowSize sets the window size on desktops. // SetWindowSize does nothing on other environments. // -// SetWindowSize sets the original window size in fullscreen mode. +// Even if the application is in fullscreen mode, SetWindowSize sets the original window size. // // SetWindowSize panics if width or height is not a positive number. //