mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
internal/uidriver/glfw: Skip adjusting the view size with OpenGL
This commit is contained in:
parent
188e80d2f7
commit
f0395dd329
@ -188,5 +188,8 @@ func (u *UserInterface) setNativeFullscreen(fullscreen bool) {
|
||||
}
|
||||
|
||||
func (u *UserInterface) adjustViewSize() {
|
||||
if u.Graphics().IsGL() {
|
||||
return
|
||||
}
|
||||
C.adjustViewSize(C.uintptr_t(u.window.GetCocoaWindow()))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user