forked from CringeStudios/gamja

Instead of calling App.setBufferState inside the App.setState callback invoked when the update is done, call State.updateBuffer.
Instead of calling App.setBufferState inside the App.setState callback invoked when the update is done, call State.updateBuffer.