From 36d651bdc766339181ebabe97dfa07a115451255 Mon Sep 17 00:00:00 2001
From: Michele Mattioni <mattioni@ebi.ac.uk>
Date: Thu, 10 Dec 2009 08:22:41 +0000
Subject: [PATCH 2/2] Corrected the lightModel with the float array

---
 examples/Shapes.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/examples/Shapes.py b/examples/Shapes.py
index 69a7cdc..44e68b8 100644
--- a/examples/Shapes.py
+++ b/examples/Shapes.py
@@ -153,7 +153,7 @@ class Shapes(GLScene,
         glLight(GL_LIGHT0, GL_SPECULAR, self.light_specular)
         glLight(GL_LIGHT0, GL_POSITION, self.light_position)
         
-        glLightModel(GL_LIGHT_MODEL_AMBIENT, self.light_ambient)
+        glLightModelfv(GL_LIGHT_MODEL_AMBIENT, self.light_ambient)
         glShadeModel(GL_SMOOTH)
         
         glDepthFunc(GL_LESS)
-- 
1.6.3.3

