diff options
author | onestone <onestone@d7aaf104-2d23-0410-ae22-9d23157bf5a3> | 2006-12-17 22:16:51 +0000 |
---|---|---|
committer | onestone <onestone@d7aaf104-2d23-0410-ae22-9d23157bf5a3> | 2006-12-17 22:16:51 +0000 |
commit | d9e1379fcbc7d55fcaffa7896cab08d62ca51b37 (patch) | |
tree | 2f360012d9985e166f1175a616f51feb9481e005 | |
parent | 9e63dff4de2afc0884eaea931e776b309c4b9ac6 (diff) | |
download | marex-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
-rw-r--r-- | beryl-plugins/src/blurfx.c | 2 |
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; |