[cogl-matrix] Adds padding to CoglMatrix
authorRobert Bragg <robert@linux.intel.com>
Tue, 24 Feb 2009 11:33:58 +0000 (11:33 +0000)
committerRobert Bragg <robert@linux.intel.com>
Thu, 26 Feb 2009 16:42:32 +0000 (16:42 +0000)
This adds enough padding to allow us to potentially add a cache of the inverse
matrix in the future and private flags to annotate matrices.

clutter/cogl/cogl-matrix.h

index 95ec92f..2c8003b 100644 (file)
@@ -65,6 +65,10 @@ typedef struct _CoglMatrix {
 
     /* Note: we may want to extend this later with private flags
      * and a cache of the inverse transform matrix. */
+    float   _padding0[16];
+    gulong  _padding1;
+    gulong  _padding2;
+    gulong  _padding3;
 } CoglMatrix;
 
 /**