diff options
author | Erkin Bahceci <erkinbah@gmail.com> | 2009-08-08 11:09:17 -0500 |
---|---|---|
committer | Erkin Bahceci <erkinbah@gmail.com> | 2009-08-08 11:09:17 -0500 |
commit | cbb42823f2053ab22f32510066624404a2efe61d (patch) | |
tree | 47368b2320116ccdfeca0047df544eccb4221745 | |
parent | b69cdd83fe9640fe559b7c05b05d320028c5bcbf (diff) | |
download | mag-cbb42823f2053ab22f32510066624404a2efe61d.tar.gz mag-cbb42823f2053ab22f32510066624404a2efe61d.tar.bz2 |
Fix painting.
-rw-r--r-- | src/mag.cpp | 10 | ||||
-rw-r--r-- | src/mag.h | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/src/mag.cpp b/src/mag.cpp index 80a607a..89e4dff 100644 --- a/src/mag.cpp +++ b/src/mag.cpp @@ -783,11 +783,11 @@ MagScreen::paintFisheye () bool -MagScreen::glPaintOutput (GLScreenPaintAttrib &attrib, - GLMatrix &transform, - CompRegion ®ion, - CompOutput *output, - unsigned int mask) +MagScreen::glPaintOutput (const GLScreenPaintAttrib &attrib, + const GLMatrix &transform, + const CompRegion ®ion, + CompOutput *output, + unsigned int mask) { bool status = gScreen->glPaintOutput (attrib, transform, region, output, mask); @@ -75,11 +75,11 @@ class MagScreen : preparePaint (int ms); bool - glPaintOutput (GLScreenPaintAttrib &attrib, - GLMatrix &transform, - CompRegion ®ion, - CompOutput *output, - unsigned int mask); + glPaintOutput (const GLScreenPaintAttrib &attrib, + const GLMatrix &transform, + const CompRegion ®ion, + CompOutput *output, + unsigned int mask); void donePaint (); |