internal/ui: remove an odd cast

This commit is contained in:
Hajime Hoshi 2022-10-02 23:20:16 +09:00
parent efd91c8b86
commit 9c07b20f2b

View File

@ -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) {