X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=tools%2Fviewer.cpp;h=e7af702418cc871ce5567cc016b1cf2b27166ab1;hp=674fbf16aafed00631b4dc6e42f13a8f42c5c504;hb=a8383f1163cd020e2ce2c030e93defd2f9909a1d;hpb=aeef1c75d50f39bf57c3e608bbe41005479c44da diff --git a/tools/viewer.cpp b/tools/viewer.cpp index 674fbf16..e7af7024 100644 --- a/tools/viewer.cpp +++ b/tools/viewer.cpp @@ -215,7 +215,7 @@ Viewer::Viewer(int argc, char **argv): mouse.signal_axis_motion.connect(sigc::bind_return(sigc::mem_fun(this, &Viewer::axis_motion), false)); light.set_position(GL::Vector4(0, 0, 1, 0)); - lighting.attach(0, light); + lighting.attach(light); camera.set_up_direction(GL::Vector3(0, 0, 1)); update_camera();