mirror of
https://github.com/edubart/otclient.git
synced 2025-11-06 05:26:23 +01:00
optimizations
This commit is contained in:
@@ -76,7 +76,7 @@ void UIWidget::parseImageStyle(const OTMLNodePtr& styleNode)
|
||||
|
||||
void UIWidget::drawImage(const Rect& screenCoords)
|
||||
{
|
||||
if(!m_imageTexture || m_imageColor.aF() == 0.0f || !screenCoords.isValid())
|
||||
if(!m_imageTexture || !screenCoords.isValid())
|
||||
return;
|
||||
|
||||
// cache vertex buffers
|
||||
|
||||
Reference in New Issue
Block a user