[compiz] [PATCH] texCoordSize and indexCount
Mike Dransfield
mike at blueroot.co.uk
Thu Oct 12 16:17:49 PDT 2006
Here are a couple of small patches to make the animation plugin compatible.
I believe that David agreed both of these to go into the CompWindow
structure
based on the previous discussion.
-------------- next part --------------
diff --git a/include/compiz.h b/include/compiz.h
index 9529a17..e355d7b 100644
--- a/include/compiz.h
+++ b/include/compiz.h
@@ -1822,6 +1822,9 @@ struct _CompWindow {
int vCount;
int texUnits;
+ int texCoordSize;
+ int indexCount;
+
CompPrivate *privates;
};
-------------- next part --------------
diff --git a/src/window.c b/src/window.c
index eaa29a7..5ce3f0a 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1533,6 +1533,9 @@ addWindow (CompScreen *screen,
w->indices = 0;
w->indexSize = 0;
w->vCount = 0;
+ w->indexCount = 0;
+
+ w->texCoordSize = 2;
w->struts = 0;
More information about the compiz
mailing list