summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <sam.spilsbury@canonical.com>2011-02-24 14:27:28 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2011-02-24 14:27:28 +0800
commitd84c7662794907b41b3d29cef559e5fa665c7029 (patch)
tree1c5dacebf576980d0cfcdd4f5e71fbb7608b2a5e
parentca09e4f2b45b567cbf7116637165c3b6c7f6a21d (diff)
downloadcubeaddon-d84c7662794907b41b3d29cef559e5fa665c7029.tar.gz
cubeaddon-d84c7662794907b41b3d29cef559e5fa665c7029.tar.bz2
Adapt for new core API
-rw-r--r--src/cubeaddon.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cubeaddon.cpp b/src/cubeaddon.cpp
index 97a00c3..5f76d91 100644
--- a/src/cubeaddon.cpp
+++ b/src/cubeaddon.cpp
@@ -58,7 +58,8 @@ CubeaddonScreen::CubeCap::load (bool scale, bool aspect, bool clamp)
CompString imgName = mFiles[mCurrent].s ();
- mTexture = GLTexture::readImageToTexture (imgName, tSize);
+ CompString pname = "cubeaddon";
+ mTexture = GLTexture::readImageToTexture (imgName, pname, tSize);
if (mTexture.empty ())
{