summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErkin Bahceci <erkinbah@gmail.com>2009-08-08 11:09:17 -0500
committerErkin Bahceci <erkinbah@gmail.com>2009-08-08 11:09:17 -0500
commitcbb42823f2053ab22f32510066624404a2efe61d (patch)
tree47368b2320116ccdfeca0047df544eccb4221745
parentb69cdd83fe9640fe559b7c05b05d320028c5bcbf (diff)
downloadmag-cbb42823f2053ab22f32510066624404a2efe61d.tar.gz
mag-cbb42823f2053ab22f32510066624404a2efe61d.tar.bz2
Fix painting.
-rw-r--r--src/mag.cpp10
-rw-r--r--src/mag.h10
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 &region,
- CompOutput *output,
- unsigned int mask)
+MagScreen::glPaintOutput (const GLScreenPaintAttrib &attrib,
+ const GLMatrix &transform,
+ const CompRegion &region,
+ CompOutput *output,
+ unsigned int mask)
{
bool status = gScreen->glPaintOutput (attrib, transform, region, output, mask);
diff --git a/src/mag.h b/src/mag.h
index c973bd2..769309b 100644
--- a/src/mag.h
+++ b/src/mag.h
@@ -75,11 +75,11 @@ class MagScreen :
preparePaint (int ms);
bool
- glPaintOutput (GLScreenPaintAttrib &attrib,
- GLMatrix &transform,
- CompRegion &region,
- CompOutput *output,
- unsigned int mask);
+ glPaintOutput (const GLScreenPaintAttrib &attrib,
+ const GLMatrix &transform,
+ const CompRegion &region,
+ CompOutput *output,
+ unsigned int mask);
void
donePaint ();