From 326cec7cc510bcae106bc1c030a2eea6e2e08d9d Mon Sep 17 00:00:00 2001 From: MandhelingFreak Date: Sun, 9 Mar 2014 20:16:40 +0900 Subject: [PATCH] =?utf8?q?=E8=87=AA=E8=88=B9=E3=82=B5=E3=82=A4=E3=82=BA?= =?utf8?q?=E3=83=90=E3=82=B0=E4=BF=AE=E6=AD=A3=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- GVONavish/GVONavish/GVORenderer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GVONavish/GVONavish/GVORenderer.cpp b/GVONavish/GVONavish/GVORenderer.cpp index bc4a3e3..396130c 100644 --- a/GVONavish/GVONavish/GVORenderer.cpp +++ b/GVONavish/GVONavish/GVORenderer.cpp @@ -310,8 +310,8 @@ void GVORenderer::renderMap( const GVOVector& shipVector, GVOTexture * shipTextu ::glLineWidth( 1.0f ); ::glTranslatef( (float)xDrawOrigin, (float)yDrawOrigin, 0 ); while ( drawn < m_viewSize.cx ) { - const float x = shipPointOffset.x - shipTexture->width() / 2.0f; - const float y = shipPointOffset.y - shipTexture->height() / 2.0f; + const float x = shipPointOffset.x - shipMarkSize / 2.0f; + const float y = shipPointOffset.y - shipMarkSize / 2.0f; ::glEnable( GL_BLEND ); ::glBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA ); -- 2.11.0