summaryrefslogtreecommitdiff
path: root/plugins/cube/src/cube.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/cube/src/cube.cpp')
-rw-r--r--plugins/cube/src/cube.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/cube/src/cube.cpp b/plugins/cube/src/cube.cpp
index 9436fdf..0751388 100644
--- a/plugins/cube/src/cube.cpp
+++ b/plugins/cube/src/cube.cpp
@@ -388,9 +388,10 @@ PrivateCubeScreen::updateSkydomeTexture ()
return;
CompString imgName = optionGetSkydomeImage ();
+ CompString pname = "cube";
if (optionGetSkydomeImage ().empty () ||
- (mSky = GLTexture::readImageToTexture (imgName, mSkySize)).empty ())
+ (mSky = GLTexture::readImageToTexture (imgName, pname, mSkySize)).empty ())
{
GLfloat aaafTextureData[128][128][3];
GLfloat fRStart = (GLfloat) optionGetSkydomeGradientStartColorRed () / 0xffff;