summaryrefslogtreecommitdiff
path: root/common/project.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/project.cpp')
-rw-r--r--common/project.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/project.cpp b/common/project.cpp
index 06efabe..1be4d1f 100644
--- a/common/project.cpp
+++ b/common/project.cpp
@@ -1904,6 +1904,7 @@ static void BuildBSP(LC_BSPNODE* node, Piece* pList)
void Project::RenderScene(bool bShaded, bool bDrawViewports)
{
+ glViewport(0, 0, m_nViewX, m_nViewY);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
if (bDrawViewports)