mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
internal/uidriver/glfw: Use GLFW's fullscreen when the window is transparent on macOS
Closes #1822
This commit is contained in:
parent
159bc8dda1
commit
a7b5db6f65
@ -178,7 +178,7 @@ func (u *UserInterface) setNativeCursor(shape driver.CursorShape) {
|
||||
}
|
||||
|
||||
func (u *UserInterface) isNativeFullscreenAvailable() bool {
|
||||
return true
|
||||
return u.window.GetAttrib(glfw.TransparentFramebuffer) != glfw.True
|
||||
}
|
||||
|
||||
func (u *UserInterface) setNativeFullscreen(fullscreen bool) {
|
||||
|
Loading…
Reference in New Issue
Block a user