summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/photowheel.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/photowheel.cpp b/src/photowheel.cpp
index c7431e5..1d3c428 100644
--- a/src/photowheel.cpp
+++ b/src/photowheel.cpp
@@ -107,8 +107,10 @@ PhotowheelScreen::textureChange (CompOption *option,
CompString imgName = imgFiles[i].s ();
photoTexture.push_back (PhotowheelTexture ());
-
- photoTexture.at (i).tex = GLTexture::readImageToTexture (imgName, tSize);
+
+ CompString pname ("photowheel");
+ photoTexture.at (i).tex = GLTexture::readImageToTexture (imgName,
+ pname, tSize);
if (photoTexture.at (i).tex.empty ())
compLogMessage ("photo", CompLogLevelWarn,