mirror of
https://github.com/edubart/otclient.git
synced 2025-10-20 06:23:26 +02:00
introduce startup options
* startup options with -help and -version * many startup options for graphics
This commit is contained in:
@@ -168,7 +168,7 @@ void UIWidget::drawImage(const Rect& screenCoords)
|
||||
m_imageTexture->setSmooth(m_imageSmooth);
|
||||
|
||||
// this will increase fps when rendering larger images, like the background, and improve image quality
|
||||
if(m_imageSmooth && g_graphics.canGenerateMipmaps() && !m_imageTexture->hasMipmaps())
|
||||
if(m_imageSmooth && !m_imageTexture->hasMipmaps() && g_graphics.canGenerateMipmaps())
|
||||
m_imageTexture->generateMipmaps();
|
||||
|
||||
g_painter.setColor(m_imageColor);
|
||||
|
Reference in New Issue
Block a user