@@ -5650,11 +5650,6 @@ static void renderDialog()
5650
5650
{
5651
5651
if (HUDDialogStack::get ()->isActive ())
5652
5652
{
5653
- const int width = mainWindow->getWidth ();
5654
- const int height = mainWindow->getHeight ();
5655
- const int ox = mainWindow->getOriginX ();
5656
- const int oy = mainWindow->getOriginY ();
5657
- glScissor (ox, oy, width, height);
5658
5653
glMatrixMode (GL_PROJECTION);
5659
5654
mainWindow->setProjectionPlay ();
5660
5655
glMatrixMode (GL_MODELVIEW);
@@ -5698,7 +5693,6 @@ static void renderRoamMouse()
5698
5693
5699
5694
glPushAttrib (GL_ALL_ATTRIB_BITS);
5700
5695
5701
- glScissor (ox, oy, sx, sy);
5702
5696
glMatrixMode (GL_PROJECTION);
5703
5697
glPushMatrix ();
5704
5698
mainWindow->setProjectionPlay ();
@@ -6546,7 +6540,6 @@ void drawFrame(const float dt)
6546
6540
mainWindow->getWindow ()->getMouse (mx, my);
6547
6541
my = height - my - 1 ;
6548
6542
6549
- glScissor (ox, oy, width, height);
6550
6543
glMatrixMode (GL_PROJECTION);
6551
6544
mainWindow->setProjectionPlay ();
6552
6545
glMatrixMode (GL_MODELVIEW);
0 commit comments