mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 11:48:55 +01:00
internal/ui: refactoring: remove an unused member
This commit is contained in:
parent
aab22f4c1e
commit
7204ca86e3
@ -69,7 +69,6 @@ type userInterfaceImpl struct {
|
|||||||
cursorShape CursorShape
|
cursorShape CursorShape
|
||||||
windowClosingHandled bool
|
windowClosingHandled bool
|
||||||
windowResizingMode WindowResizingMode
|
windowResizingMode WindowResizingMode
|
||||||
inFrame uint32
|
|
||||||
|
|
||||||
// err must be accessed from the main thread.
|
// err must be accessed from the main thread.
|
||||||
err error
|
err error
|
||||||
@ -799,11 +798,9 @@ func (u *userInterfaceImpl) createWindow() error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (u *userInterfaceImpl) beginFrame() {
|
func (u *userInterfaceImpl) beginFrame() {
|
||||||
atomic.StoreUint32(&u.inFrame, 1)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (u *userInterfaceImpl) endFrame() {
|
func (u *userInterfaceImpl) endFrame() {
|
||||||
atomic.StoreUint32(&u.inFrame, 0)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// registerWindowCloseCallback must be called from the main thread.
|
// registerWindowCloseCallback must be called from the main thread.
|
||||||
|
Loading…
Reference in New Issue
Block a user