From f5b95e808716186e95c704cb0e21f965d8f1e57c Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Tue, 27 Nov 2012 19:55:34 +0000 Subject: [PATCH] matrix-stack: move pointer to top of CoglMatrixEntry This moves the parent pointer member to the top of the CoglMatrixEntry structure since it will lead to wasted padding when we build for 64bit cpus. (cherry picked from commit 42b4750070286a6404b103d8a827a46efb6b344c) --- cogl/cogl-matrix-stack.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogl/cogl-matrix-stack.h b/cogl/cogl-matrix-stack.h index 8b942e33a..dcc38688d 100644 --- a/cogl/cogl-matrix-stack.h +++ b/cogl/cogl-matrix-stack.h @@ -51,8 +51,8 @@ typedef struct _CoglMatrixEntry CoglMatrixEntry; struct _CoglMatrixEntry { - CoglMatrixOp op; CoglMatrixEntry *parent; + CoglMatrixOp op; unsigned int ref_count; /* used for performance tracing */