X-Git-Url: https://git.jsancho.org/?p=guile-irrlicht.git;a=blobdiff_plain;f=src%2Fdevice.cpp;h=0a4d2c686560e1814719291e6246701aec0fbd44;hp=41d6193344190efb3fc45c536a513a82308d09fd;hb=a07c344063e6dca568add5f022c7aab495061d11;hpb=d461760a76c8cd8667d4210d628738db05270366 diff --git a/src/device.cpp b/src/device.cpp index 41d6193..0a4d2c6 100644 --- a/src/device.cpp +++ b/src/device.cpp @@ -25,6 +25,7 @@ #include "device.h" #include "dimension2d.h" #include "driver-types.h" +#include "event-receiver.h" #include "wchar.h" #include "wrapped.h" @@ -75,7 +76,8 @@ extern "C" { scm_to_uint32 (bits), scm_to_bool (fullscreen), scm_to_bool (stencilbuffer), - scm_to_bool (vsync)); + scm_to_bool (vsync), + scm_is_false (receiver) ? 0 : unwrap_event_receiver (receiver)); return wrap_device (device); }