Merge with develop

--HG--
branch : compatibility-develop
hg/compatibility-develop
Nimetu 8 years ago
commit b95fed61f2

@ -446,10 +446,7 @@ namespace NLGUI
// ***************************************************************************
sint32 CCtrlButton::getMaxUsedW() const
{
sint32 txw, txh;
CViewRenderer &rVR = *CViewRenderer::getInstance();
rVR.getTextureSizeFromId (_TextureIdNormal, txw, txh);
return txw;
return _W;
}
// ***************************************************************************

@ -511,10 +511,7 @@ namespace NLGUI
// ***************************************************************************
sint32 CViewBitmap::getMaxUsedW() const
{
sint32 txw, txh;
CViewRenderer &rVR = *CViewRenderer::getInstance();
rVR.getTextureSizeFromId (_TextureId, txw, txh);
return txw;
return _W;
}
// ***************************************************************************

Loading…
Cancel
Save