From d654aa8feecc04c2a0e7d7aa8badc87c3638bedb Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sun, 18 Dec 2005 23:45:01 +0000 Subject: [PATCH] InitRenderModel should be called before InitPosition (to have fixed light positions) --- Graphics/Draw.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Graphics/Draw.cpp b/Graphics/Draw.cpp index 186b73dcf2..f4cd2c2ee1 100644 --- a/Graphics/Draw.cpp +++ b/Graphics/Draw.cpp @@ -1,4 +1,4 @@ -// $Id: Draw.cpp,v 1.85 2005-12-18 21:10:54 geuzaine Exp $ +// $Id: Draw.cpp,v 1.86 2005-12-18 23:45:01 geuzaine Exp $ // // Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle // @@ -76,8 +76,8 @@ void Draw3d(void) glEnable(GL_DEPTH_TEST); InitProjection(0, 0); - InitPosition(); InitRenderModel(); + InitPosition(); Draw_Mesh(&M); } -- GitLab