From 30b8e66fb49b343dc630c71c7fc685e5ab53bbcd Mon Sep 17 00:00:00 2001 From: leo Date: Wed, 1 Dec 1999 19:50:41 +0000 Subject: changed the color values from floats to bytes git-svn-id: http://svn.leocad.org/trunk@22 c7d43263-9d01-0410-8a33-9dba5d9f93d6 --- win/Print.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'win/Print.cpp') diff --git a/win/Print.cpp b/win/Print.cpp index 06c52dd..158a0ab 100644 --- a/win/Print.cpp +++ b/win/Print.cpp @@ -286,7 +286,7 @@ static void PrintCatalogThread (CWnd* pParent, CFrameWnd* pMainFrame) glDisable (GL_DITHER); glShadeModel (GL_FLAT); - glColor3fv (FlatColorArray[project->GetCurrentColor()]); + glColor3ubv(FlatColorArray[project->GetCurrentColor()]); // dlgPrintStatus.SetDlgItemText(AFX_IDC_PRINT_DOCNAME, node->name); node = node->next; @@ -678,7 +678,7 @@ static void PrintPiecesThread(void* pv) glDisable (GL_DITHER); glShadeModel (GL_FLAT); - glColor3fv (FlatColorArray[project->m_nCurColor]); + glColor3ubv(FlatColorArray[project->m_nCurColor]); PieceInfo* pInfo = project->GetPieceInfo(node->actual); node = node->next; -- cgit v1.2.3