From 53930ef60abf446960319d6c54a6899965b9a09f Mon Sep 17 00:00:00 2001 From: leo Date: Sat, 26 Aug 2000 14:46:17 +0000 Subject: Rewrote the way the pieces toolbar work under Linux, now it can be resized and floated. Save toolbar preferences between sessions. Fixed the check marks in the toolbar menu. git-svn-id: http://svn.leocad.org/trunk@107 c7d43263-9d01-0410-8a33-9dba5d9f93d6 --- common/project.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'common/project.cpp') 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) -- cgit v1.2.3