summaryrefslogtreecommitdiff
path: root/plugins/opengl/src/texture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/opengl/src/texture.cpp')
-rw-r--r--plugins/opengl/src/texture.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/opengl/src/texture.cpp b/plugins/opengl/src/texture.cpp
index 27ccddd..3c4ddcf 100644
--- a/plugins/opengl/src/texture.cpp
+++ b/plugins/opengl/src/texture.cpp
@@ -368,11 +368,12 @@ GLTexture::imageDataToTexture (const char *image,
GLTexture::List
GLTexture::readImageToTexture (CompString &imageFileName,
+ CompString &pluginName,
CompSize &size)
{
void *image = NULL;
- if (!screen->readImageFromFile (imageFileName, size, image) || !image)
+ if (!screen->readImageFromFile (imageFileName, pluginName, size, image) || !image)
return GLTexture::List ();
GLTexture::List rv =