mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-25 06:19:02 -06:00
Feature/globals handling (#1352)
* Cleaner handling of global state * Prevent Lua memory corruption (closes #982) * Initialize glfw first thing to prevent weird joystick loading bug during startup
This commit is contained in:
@@ -152,7 +152,7 @@ void RenderablePlaneImageOnline::update(const UpdateData&) {
|
||||
std::future<DownloadManager::MemoryFile>
|
||||
RenderablePlaneImageOnline::downloadImageToMemory(const std::string& url)
|
||||
{
|
||||
return global::downloadManager.fetchFile(
|
||||
return global::downloadManager->fetchFile(
|
||||
url,
|
||||
[url](const DownloadManager::MemoryFile&) {
|
||||
LDEBUGC(
|
||||
|
||||
Reference in New Issue
Block a user