Ambientlight compatibility problem

BlitzMax Forums/MiniB3D Module/Ambientlight compatibility problem

Warner(Posted 2009) [#1]
On my machine, AmbientLight didn't do anything.
I was going through the source, and found these lines were commented out:
Local ambient#[]=[ambient_red#,ambient_green#,ambient_blue#]	
glLightModelfv(GL_LIGHT_MODEL_AMBIENT,ambient#)

in "TMesh.bmx".
After uncommenting them, AmbientLight now works.