texture.SetBlendMode(sdl.BLENDMODE_ADD) may not work on macOS and may cause glitches
texture.SetBlendMode(sdl.BLENDMODE_ADD)