improved gl init
Merge branch 'master' into macos-build
Merge branch 'macos-build' of https://github.com/dalerank/caesaria-game into macos-build