mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 11:09:37 -06:00
Feature/filesystem cleanup (#1587)
* Adapting to the changes in Ghoul * First step of moving filesystem functions to std * Remove persistence flag from cachemanager
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#define __OPENSPACE_CORE___TEXTURECOMPONENT___H__
|
||||
|
||||
#include <ghoul/opengl/texture.h>
|
||||
#include <filesystem>
|
||||
|
||||
namespace ghoul::filesystem { class File; }
|
||||
namespace ghoul::opengl {class Texture; }
|
||||
@@ -48,7 +49,7 @@ public:
|
||||
void uploadToGpu();
|
||||
|
||||
// Loads a texture from a file on disk
|
||||
void loadFromFile(const std::string& path);
|
||||
void loadFromFile(const std::filesystem::path& path);
|
||||
|
||||
// Function to call in a renderable's update function to make sure
|
||||
// the texture is kept up to date
|
||||
|
||||
Reference in New Issue
Block a user