Permalink
Browse files

slight optimisation of AddTransform

  • Loading branch information...
1 parent a077c84 commit 14ce90ca6f30e21a914ee4a5fe898443f71663a6 Jonathan Marshall committed Jun 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/guilib/GraphicContext.h
@@ -180,7 +180,7 @@ class CGraphicContext : public CCriticalSection
ASSERT(m_groupTransform.size());
TransformMatrix absoluteMatrix = m_groupTransform.size() ? m_groupTransform.top() * matrix : matrix;
m_groupTransform.push(absoluteMatrix);
- UpdateFinalTransform(m_groupTransform.top());
+ UpdateFinalTransform(absoluteMatrix);
return absoluteMatrix;
}
inline void SetTransform(const TransformMatrix &matrix)

0 comments on commit 14ce90c

Please sign in to comment.