mirror of
https://github.com/edubart/otclient.git
synced 2025-12-14 12:49:47 +01:00
animated texture
This commit is contained in:
@@ -128,8 +128,10 @@ void Graphics::endRender()
|
||||
|
||||
void Graphics::disableDrawing()
|
||||
{
|
||||
glEnd();
|
||||
m_drawMode = DRAW_NONE;
|
||||
if(m_drawMode != DRAW_NONE) {
|
||||
glEnd();
|
||||
m_drawMode = DRAW_NONE;
|
||||
}
|
||||
}
|
||||
|
||||
void Graphics::drawTexturedRect(const Rect& screenCoords, const TexturePtr& texture, const Rect& textureCoords, const Color& color)
|
||||
|
||||
Reference in New Issue
Block a user