summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/blurfx.c
diff options
context:
space:
mode:
authormaniac <maniac@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-12 15:20:56 +0000
committermaniac <maniac@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-12 15:20:56 +0000
commit8c54687bd3eacae78cda588df3e8a84e72f1d1de (patch)
tree035d109022792b4cf5e7c6210bf0bfa100e2544c /beryl-plugins/src/blurfx.c
parent8327279f43bf91df48952d4d53e27bdc9a341e0d (diff)
downloadmarex-dev-8c54687bd3eacae78cda588df3e8a84e72f1d1de.tar.gz
marex-dev-8c54687bd3eacae78cda588df3e8a84e72f1d1de.tar.bz2
beryl-core & -plugins:
added fragment attribute interface (FAI) written by David Reveman (providing a means for plugins to add per-fragment operations to drawing operations) git-svn-id: file:///beryl/trunk@3994 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/blurfx.c')
-rw-r--r--beryl-plugins/src/blurfx.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/beryl-plugins/src/blurfx.c b/beryl-plugins/src/blurfx.c
index 9eda104..6ba3733 100644
--- a/beryl-plugins/src/blurfx.c
+++ b/beryl-plugins/src/blurfx.c
@@ -1796,7 +1796,9 @@ blurfxDrawWindow(CompWindow * w, const WindowPaintAttrib * attrib,
static void
blurfxDrawWindowTexture(CompWindow * w, CompTexture * texture,
- const WindowPaintAttrib * attrib, unsigned int mask)
+ const WindowPaintAttrib * attrib,
+ const FragmentAttrib *fAttrib,
+ unsigned int mask)
{
CompScreen *s = w->screen;
@@ -1910,7 +1912,7 @@ blurfxDrawWindowTexture(CompWindow * w, CompTexture * texture,
{
GLERR;
UNWRAP(bs, w->screen, drawWindowTexture);
- (*w->screen->drawWindowTexture) (w, texture, attrib, mask);
+ (*w->screen->drawWindowTexture) (w, texture, attrib, fAttrib, mask);
WRAP(bs, w->screen, drawWindowTexture, blurfxDrawWindowTexture);
#ifdef GL_DEBUG
glGetError();