$OpenBSD: patch-source_mupen64plus-video-rice_src_OGLRender_cpp,v 1.1.1.1 2011/12/26 13:38:27 stsp Exp $
--- src/OGLRender.cpp.orig	Mon Dec 19 00:22:51 2011
+++ src/OGLRender.cpp	Mon Dec 19 00:23:55 2011
@@ -581,8 +581,8 @@ bool OGLRender::RenderLine3D()
     glBegin(GL_TRIANGLE_FAN);
 
     glColor4f(m_line3DVtx[1].r, m_line3DVtx[1].g, m_line3DVtx[1].b, m_line3DVtx[1].a);
-    glVertex3f(m_line3DVector[3].x, m_line3DVector[3].y, -m_line3DVtx[3].z);
-    glVertex3f(m_line3DVector[2].x, m_line3DVector[2].y, -m_line3DVtx[2].z);
+    glVertex3f(m_line3DVector[3].x, m_line3DVector[3].y, -m_line3DVtx[1].z);
+    glVertex3f(m_line3DVector[2].x, m_line3DVector[2].y, -m_line3DVtx[0].z);
     
     glColor4ub(m_line3DVtx[0].r, m_line3DVtx[0].g, m_line3DVtx[0].b, m_line3DVtx[0].a);
     glVertex3f(m_line3DVector[1].x, m_line3DVector[1].y, -m_line3DVtx[1].z);
