summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErkin Bahceci <erkinbah@gmail.com>2009-08-25 00:11:03 -0500
committerErkin Bahceci <erkinbah@gmail.com>2009-08-25 00:11:03 -0500
commit0e0a035ab7cf604275eb544cf1bf03991d8b9b37 (patch)
tree1e6575ab4dceaa863447bbae17ef2dd1a8d030cf
parent0ae62297adbc42717a30d980ed177207bacbe7b5 (diff)
downloadgears-0e0a035ab7cf604275eb544cf1bf03991d8b9b37.tar.gz
gears-0e0a035ab7cf604275eb544cf1bf03991d8b9b37.tar.bz2
Fix uninitialized variable.compiz-0.8
-rw-r--r--gears.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gears.c b/gears.c
index fa9238f..2b27058 100644
--- a/gears.c
+++ b/gears.c
@@ -453,6 +453,8 @@ gearsInitScreen (CompPlugin *p,
glLightfv (GL_LIGHT1, GL_DIFFUSE, diffuseLight);
glLightfv (GL_LIGHT1, GL_POSITION, pos);
+ gs->damage = FALSE;
+
gs->contentRotation = 0.0;
gs->gear1 = glGenLists (1);