Initialize variable holding initial transformation matrix
When wxMacCoreGraphicsContext is created for wxGraphicsRenderer, initial transformation matrix is just an identity matrix.
This commit is contained in:
parent
2d8657d37c
commit
796ffb3671
@ -1510,6 +1510,7 @@ wxMacCoreGraphicsContext::wxMacCoreGraphicsContext( wxGraphicsRenderer* renderer
|
||||
wxMacCoreGraphicsContext::wxMacCoreGraphicsContext(wxGraphicsRenderer* renderer) : wxGraphicsContext(renderer)
|
||||
{
|
||||
Init();
|
||||
m_initTransform = CGAffineTransformIdentity;
|
||||
}
|
||||
|
||||
wxMacCoreGraphicsContext::~wxMacCoreGraphicsContext()
|
||||
|
Loading…
Reference in New Issue
Block a user