Merge pull request #1063 from OpenSpace/bug/macosbuild

macos compile and build (still needs ring shader const fix)
This commit is contained in:
Alexander Bock
2020-02-10 23:39:39 +01:00
committed by GitHub
21 changed files with 106 additions and 75 deletions
+1 -2
View File
@@ -166,7 +166,7 @@ void LoadingScreen::render() {
const glm::vec2 dpiScaling = global::windowDelegate.dpiScaling();
const glm::ivec2 res =
glm::vec2(global::windowDelegate.currentSubwindowSize()) / dpiScaling;
glm::vec2(global::windowDelegate.currentSubwindowSize()) * dpiScaling;
float screenAspectRatio = static_cast<float>(res.x) / static_cast<float>(res.y);
@@ -317,7 +317,6 @@ void LoadingScreen::render() {
ProgressbarCenter.y + progressbarSize.y
};
for (Item& item : _items) {
if (!item.hasLocation) {
// Compute a new location