mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
internal/ui: remove an odd cast
This commit is contained in:
parent
efd91c8b86
commit
9c07b20f2b
@ -406,7 +406,7 @@ func (g *globalState) setScreenClearedEveryFrame(cleared bool) {
|
||||
}
|
||||
|
||||
func (g *globalState) isScreenFilterEnabled() bool {
|
||||
return graphicsdriver.Filter(atomic.LoadInt32(&g.screenFilterEnabled_)) != 0
|
||||
return atomic.LoadInt32(&g.screenFilterEnabled_) != 0
|
||||
}
|
||||
|
||||
func (g *globalState) setScreenFilterEnabled(enabled bool) {
|
||||
|
Loading…
Reference in New Issue
Block a user