X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=demos%2Fdesertpillars%2Fsource%2Fdesertpillars.cpp;h=bdbc069e3e153d31bc69747c5a4f4a203c0dce2d;hp=5f3b29b1375fdfd6c99283fbd60779e9724bb655;hb=a266f0f915827b20591f6244ccc36129e844f408;hpb=a6923e6315d5b91a0641dfcde653a897e8afeb1f diff --git a/demos/desertpillars/source/desertpillars.cpp b/demos/desertpillars/source/desertpillars.cpp index 5f3b29b1..bdbc069e 100644 --- a/demos/desertpillars/source/desertpillars.cpp +++ b/demos/desertpillars/source/desertpillars.cpp @@ -34,7 +34,7 @@ DesertPillars::DesertPillars(int, char **): window.signal_close.connect(sigc::bind(sigc::mem_fun(this, &DesertPillars::exit), 0)); keyboard.signal_button_press.connect(sigc::bind_return(sigc::mem_fun(this, &DesertPillars::key_press), false)); - const GL::Light &sun = resources.get("Sun.light"); + GL::Light &sun = resources.get("Sun.light"); sky = make_unique(content, sun); unsigned shadow_size = 8192;