mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +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 {
|
func (u *UserInterface) isNativeFullscreenAvailable() bool {
|
||||||
return true
|
return u.window.GetAttrib(glfw.TransparentFramebuffer) != glfw.True
|
||||||
}
|
}
|
||||||
|
|
||||||
func (u *UserInterface) setNativeFullscreen(fullscreen bool) {
|
func (u *UserInterface) setNativeFullscreen(fullscreen bool) {
|
||||||
|
Loading…
Reference in New Issue
Block a user