fix a nasty bug, due to uninitialized variable, sometimes the value was nan and the == passed, leading to some OpenGL error later on due to glScissors failing…
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
using namespace Gwen::Controls;
|
||||
|
||||
|
||||
Canvas::Canvas( Gwen::Skin::Base* pSkin ) : BaseClass( NULL ), m_bAnyDelete( false )
|
||||
Canvas::Canvas( Gwen::Skin::Base* pSkin ) : BaseClass( NULL ), m_bAnyDelete( false ),m_fScale(-1)
|
||||
{
|
||||
SetBounds( 0, 0, 10000, 10000 );
|
||||
SetSkin( pSkin );
|
||||
|
||||
Reference in New Issue
Block a user