X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=demos%2Fdesertpillars.cpp;h=373297e20caab6c437bdb809944f307fc090bf34;hp=0f148f7de28ebc4335eff4bef2bea967de51ab5d;hb=55b23f78985f9404712028919eba6678ec4272be;hpb=2b779717e42b514210f7128cf9aee2276650e003 diff --git a/demos/desertpillars.cpp b/demos/desertpillars.cpp index 0f148f7d..373297e2 100644 --- a/demos/desertpillars.cpp +++ b/demos/desertpillars.cpp @@ -304,7 +304,7 @@ DesertPillars::DesertPillars(int argc, char **argv): window.signal_close.connect(sigc::bind(sigc::mem_fun(this, &DesertPillars::exit), 0)); if(options.window_opts.fullscreen) window.show_cursor(false); - keyboard.signal_button_press.connect(sigc::mem_fun(this, &DesertPillars::key_press)); + keyboard.signal_button_press.connect(sigc::bind_return(sigc::mem_fun(this, &DesertPillars::key_press), false)); create_pipeline(); create_skybox();