mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-24 04:58:59 -05:00
Adapt to changes in Ghoul that made absPath return a std::filesystem::path instead of a std::string
This commit is contained in:
@@ -681,7 +681,7 @@ void RenderablePlanetProjection::loadColorTexture() {
|
||||
_baseTexture = nullptr;
|
||||
if (selectedPath != NoImageText) {
|
||||
_baseTexture = ghoul::io::TextureReader::ref().loadTexture(
|
||||
absPath(selectedPath)
|
||||
absPath(selectedPath).string()
|
||||
);
|
||||
if (_baseTexture) {
|
||||
ghoul::opengl::convertTextureFormat(*_baseTexture, Texture::Format::RGB);
|
||||
@@ -703,7 +703,7 @@ void RenderablePlanetProjection::loadHeightTexture() {
|
||||
_heightMapTexture = nullptr;
|
||||
if (selectedPath != NoImageText) {
|
||||
_heightMapTexture = ghoul::io::TextureReader::ref().loadTexture(
|
||||
absPath(selectedPath)
|
||||
absPath(selectedPath).string()
|
||||
);
|
||||
if (_heightMapTexture) {
|
||||
ghoul::opengl::convertTextureFormat(*_heightMapTexture, Texture::Format::RGB);
|
||||
|
||||
Reference in New Issue
Block a user