diff --git a/ext/ghoul b/ext/ghoul
index 3c444b9a99..e16282f831 160000
--- a/ext/ghoul
+++ b/ext/ghoul
@@ -1 +1 @@
-Subproject commit 3c444b9a993846cd1eaac1b8f3c33f3f294eecfb
+Subproject commit e16282f8312efe1522c364822b58b0dddce9c269
diff --git a/ext/spice/include/SpiceZpl.h b/ext/spice/include/SpiceZpl.h
index 227393b85d..a8b193139c 100644
--- a/ext/spice/include/SpiceZpl.h
+++ b/ext/spice/include/SpiceZpl.h
@@ -111,7 +111,7 @@
#define HAVE_PLATFORM_MACROS_H
- #define CSPICE_PC_MS
+ #define CSPICE_MAC_OSX_INTEL_64BIT_GCC
#endif
diff --git a/ext/spice/lib/gcc_osx/csupport.a b/ext/spice/lib/gcc_osx/csupport.a
new file mode 100644
index 0000000000..de843de4c6
Binary files /dev/null and b/ext/spice/lib/gcc_osx/csupport.a differ
diff --git a/include/openspace/util/spicemanager.h b/include/openspace/util/spicemanager.h
index 7c73f4d3f4..7305f79204 100644
--- a/include/openspace/util/spicemanager.h
+++ b/include/openspace/util/spicemanager.h
@@ -85,7 +85,7 @@ public:
* \param filePath The path to the kernel that should be examined
* \return true if the operation was successful
*/
- bool findCkCoverage(std::string& path);
+ bool findCkCoverage(const std::string& path);
/**
* Function to find and store the intervals covered by a spk file, this is done
@@ -95,7 +95,7 @@ public:
* \param filePath The path to the kernel that should be examined
* \return true if the operation was successful
*/
- bool findSpkCoverage(std::string& path);
+ bool findSpkCoverage(const std::string& path);
/**
* \return true if SPK kernels have been loaded to cover target
diff --git a/shaders/ABuffer/abufferSort.hglsl b/shaders/ABuffer/abufferSort.hglsl
index 71acc355b7..478813a86a 100644
--- a/shaders/ABuffer/abufferSort.hglsl
+++ b/shaders/ABuffer/abufferSort.hglsl
@@ -57,6 +57,9 @@ int build_local_fragments_list() {
return int(frag_count);
#endif
+#if ABUFFER_IMPLEMENTATION == ABUFFER_FRAMEBUFFER
+ return 0;
+#endif
}
float pscLength(vec4 v1, vec4 v2) {
diff --git a/shaders/gui_fs.glsl b/shaders/gui_fs.glsl
index 169aa1f0f5..0e5ff5adea 100644
--- a/shaders/gui_fs.glsl
+++ b/shaders/gui_fs.glsl
@@ -26,9 +26,11 @@
uniform sampler2D tex;
-layout(location = 1) in vec2 in_uv;
-layout(location = 2) in vec4 in_color;
+layout(location = 1) in vec2 out_uv;
+layout(location = 2) in vec4 out_color;
+
layout(location = 0) out vec4 FragColor;
+
void main() {
- FragColor = in_color * texture(tex, in_uv.st);
+ FragColor = out_color * texture(tex, out_uv.st);
}
\ No newline at end of file
diff --git a/src/util/spicemanager.cpp b/src/util/spicemanager.cpp
index c49f28d19d..4411cfc724 100644
--- a/src/util/spicemanager.cpp
+++ b/src/util/spicemanager.cpp
@@ -31,7 +31,7 @@
#include
-#define MAXOBJ 1000
+#define MAXOBJ 64
#define WINSIZ 10000
namespace {
@@ -147,7 +147,7 @@ SpiceManager::KernelIdentifier SpiceManager::loadKernel(const std::string& fileP
}
}
-bool SpiceManager::findCkCoverage(std::string& path) {
+bool SpiceManager::findCkCoverage(const std::string& path) {
SpiceInt frame, numberOfIntervals;
SpiceDouble b, e;
std::pair tempInterval;
@@ -178,7 +178,7 @@ bool SpiceManager::findCkCoverage(std::string& path) {
return true;
}
-bool SpiceManager::findSpkCoverage(std::string& path) {
+bool SpiceManager::findSpkCoverage(const std::string& path) {
SpiceInt obj, numberOfIntervals;
SpiceDouble b, e;
std::pair tempInterval;
@@ -186,7 +186,6 @@ bool SpiceManager::findSpkCoverage(std::string& path) {
SPICEDOUBLE_CELL(cover, WINSIZ);
spkobj_c(path.c_str(), &ids);
-
for (SpiceInt i = 0; i < card_c(&ids); ++i) {
obj = SPICE_CELL_ELEM_I(&ids, i);