summaryrefslogtreecommitdiff
path: root/win/Print.cpp
diff options
context:
space:
mode:
authorleo1999-12-01 19:50:41 +0000
committerleo1999-12-01 19:50:41 +0000
commit30b8e66fb49b343dc630c71c7fc685e5ab53bbcd (patch)
tree5387051c9e914ae013b8934b318c125f3739d144 /win/Print.cpp
parente3d11078b3974f669c7231bf198ad3392e46c7ce (diff)
changed the color values from floats to bytes
git-svn-id: http://svn.leocad.org/trunk@22 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'win/Print.cpp')
-rw-r--r--win/Print.cpp4
1 files changed, 2 insertions, 2 deletions
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;