From: Rudolf Polzer Date: Thu, 18 Nov 2010 11:56:21 +0000 (+0100) Subject: xywindow: draw the x/y/z border properly X-Git-Tag: xonotic-v0.5.0~144^2~5 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8f059eb5924b72c6472611302b5bc6836a9f763a;p=xonotic%2Fnetradiant.git xywindow: draw the x/y/z border properly --- diff --git a/radiant/xywindow.cpp b/radiant/xywindow.cpp index 567d17f7..857e7b99 100644 --- a/radiant/xywindow.cpp +++ b/radiant/xywindow.cpp @@ -2522,10 +2522,10 @@ void XYWnd::XY_Draw() } } glBegin (GL_LINE_LOOP); - glVertex2i (0, 0); - glVertex2i (m_nWidth-1, 0); - glVertex2i (m_nWidth-1, m_nHeight-1); - glVertex2i (0, m_nHeight-1); + glVertex2f (0.5, 0.5); + glVertex2f (m_nWidth-0.5, 1); + glVertex2f (m_nWidth-0.5, m_nHeight-0.5); + glVertex2f (0.5, m_nHeight-0.5); glEnd(); } }