summaryrefslogtreecommitdiff
path: root/anaglyph.c
diff options
context:
space:
mode:
Diffstat (limited to 'anaglyph.c')
-rw-r--r--anaglyph.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/anaglyph.c b/anaglyph.c
index 3032636..c161a30 100644
--- a/anaglyph.c
+++ b/anaglyph.c
@@ -71,7 +71,6 @@ typedef struct _AnaglyphScreen {
typedef struct _AnaglyphWindow {
Bool isAnaglyph;
- Bool isNew;
} AnaglyphWindow;
@@ -91,7 +90,8 @@ toggleAnaglyphWindow (CompWindow *w)
addWindowDamage(w);
}
-//
+
+
static void
toggleAnaglyphScreen (CompScreen *s)
{
@@ -107,7 +107,7 @@ toggleAnaglyphScreen (CompScreen *s)
}
-//--
+
static Bool
anaglyphAnaglyphWindow (CompDisplay *d,
CompAction *action,
@@ -128,7 +128,6 @@ anaglyphAnaglyphWindow (CompDisplay *d,
return FALSE;
toggleAnaglyphWindow(w);
- //return TRUE;
}
return FALSE;
}
@@ -236,7 +235,6 @@ static Bool anaglyphDrawWindow(CompWindow * w,
glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
- aw->isNew = FALSE;
s->display->textureFilter = oldFilter;
}
else
@@ -509,7 +507,6 @@ static Bool anaglyphInitWindow(CompPlugin * p, CompWindow * w)
return FALSE;
aw->isAnaglyph = FALSE;
- aw->isNew = TRUE;
w->base.privates[as->windowPrivateIndex].ptr = aw;
@@ -549,7 +546,7 @@ static void
anaglyphFini (CompPlugin *p)
{
- if (corePrivateIndex >= 0) //
+ if (corePrivateIndex >= 0)
freeCorePrivateIndex (corePrivateIndex);
}