summaryrefslogtreecommitdiff
path: root/common/piece.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/piece.cpp')
-rw-r--r--common/piece.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/piece.cpp b/common/piece.cpp
index 98e539b..4bf9471 100644
--- a/common/piece.cpp
+++ b/common/piece.cpp
@@ -1143,14 +1143,14 @@ void Piece::RenderBox(bool bHilite, float fLineWidth)
glLineWidth(2*fLineWidth);
glPushAttrib(GL_POLYGON_BIT);
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
- glCallList(m_pPieceInfo->GetBoxDisplayList());
+ m_pPieceInfo->RenderBox();
glPopAttrib();
glLineWidth(fLineWidth);
}
else
{
glColor3ubv(FlatColorArray[m_nColor]);
- glCallList(m_pPieceInfo->GetBoxDisplayList());
+ m_pPieceInfo->RenderBox();
}
glPopMatrix();
}