summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/blurfx.c
diff options
context:
space:
mode:
authoronestone <onestone@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-17 22:16:51 +0000
committeronestone <onestone@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-17 22:16:51 +0000
commitd9e1379fcbc7d55fcaffa7896cab08d62ca51b37 (patch)
tree2f360012d9985e166f1175a616f51feb9481e005 /beryl-plugins/src/blurfx.c
parent9e63dff4de2afc0884eaea931e776b309c4b9ac6 (diff)
downloadmarex-dev-d9e1379fcbc7d55fcaffa7896cab08d62ca51b37.tar.gz
marex-dev-d9e1379fcbc7d55fcaffa7896cab08d62ca51b37.tar.bz2
beryl-plugins: blurfx: fixed reflection image file loading
git-svn-id: file:///beryl/trunk@1841 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/blurfx.c')
-rw-r--r--beryl-plugins/src/blurfx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/beryl-plugins/src/blurfx.c b/beryl-plugins/src/blurfx.c
index 9e9cb57..f922ad5 100644
--- a/beryl-plugins/src/blurfx.c
+++ b/beryl-plugins/src/blurfx.c
@@ -4758,7 +4758,7 @@ loadPngToTexture2D(CompScreen *s, BlurfxScreen * bs, BlurTexture * tex, char *fi
fprintf(stderr, "Loading image \"%s\" \n", filename);
// Was: readPng(filename, &img_data, &img_w, &img_h);
- if (!fileToImage(s->display, NULL, filename, &img_w, &img_h, &stride, (void *)&img_data))
+ if (!(*s->display->fileToImage)(s->display, NULL, filename, &img_w, &img_h, &stride, (void *)&img_data))
{
printf("Unable to load image \"%s\" \n", filename);
return;