scm_from_uint32 (0),
scm_from_uint32 (0));
SCM video_data = SCM_BOOL_F;
- SCM source_rect = SCM_BOOL_F;
+ SCM source_rect = SCM_UNDEFINED;
scm_c_bind_keyword_arguments ("begin-scene", rest, (scm_t_keyword_arguments_flags)0,
scm_from_utf8_keyword ("back-buffer"), &back_buffer,
irr::video::IVideoDriver* driver = unwrap_video_driver (wrapped_video_driver);
irr::core::rect<irr::s32>* sourceRectAddress = 0;
- if (!scm_is_false (source_rect))
+ if (source_rect != SCM_UNDEFINED)
{
irr::core::rect<irr::s32> sourceRect = scm_to_rect_s32 (source_rect);
sourceRectAddress = &sourceRect;