Pick initial scale based on min(width, height)
commitea359950a5b25270837a3ec1224f30f1d1e41608
authorOlly Betts <olly@survex.com>
Tue, 5 Jun 2018 03:22:09 +0000 (5 15:22 +1200)
committerOlly Betts <olly@survex.com>
Tue, 5 Jun 2018 03:22:09 +0000 (5 15:22 +1200)
tree1ddb05748a3f0d31d14db794c227be2e5baeed30
parent529fa0eb35be25425904ec82bbbd7432ea0fd685
Pick initial scale based on min(width, height)

Previously we always used the window width, which can result in
parts of the cave being outside the initial view.  Reported by
Wookey.
src/gla-gl.cc