mirror of
https://github.com/edubart/otclient.git
synced 2025-10-19 05:53:26 +02:00
platform fixes
* fix black cursor on win32 * fix front buffer refresh on some x11 platforms * fix outfit framebuffer glitch * display entergame by default * change some icons
This commit is contained in:
@@ -143,10 +143,10 @@ void Painter::setClipRect(const Rect& clipRect)
|
||||
if(clipRect.isValid()) {
|
||||
glEnable(GL_SCISSOR_TEST);
|
||||
glScissor(clipRect.left(), g_graphics.getViewportSize().height() - clipRect.bottom() - 1, clipRect.width(), clipRect.height());
|
||||
m_clipRect = clipRect;
|
||||
} else {
|
||||
glDisable(GL_SCISSOR_TEST);
|
||||
}
|
||||
m_clipRect = clipRect;
|
||||
}
|
||||
|
||||
void Painter::saveAndResetState()
|
||||
|
Reference in New Issue
Block a user