diff --git a/binding-mri/graphics-binding.cpp b/binding-mri/graphics-binding.cpp index dd4519a..d8a874e 100644 --- a/binding-mri/graphics-binding.cpp +++ b/binding-mri/graphics-binding.cpp @@ -198,7 +198,6 @@ RB_METHOD(graphicsPlayMovie) DEF_GRA_PROP_I(FrameRate) DEF_GRA_PROP_I(FrameCount) DEF_GRA_PROP_I(Brightness) -DEF_GRA_PROP_B(Smooth) DEF_GRA_PROP_B(Fullscreen) DEF_GRA_PROP_B(ShowCursor) @@ -242,8 +241,6 @@ void graphicsBindingInit() _rb_define_module_function(module, "play_movie", graphicsPlayMovie); } - INIT_GRA_PROP_BIND( Smooth, "smooth" ); - INIT_GRA_PROP_BIND( Fullscreen, "fullscreen" ); INIT_GRA_PROP_BIND( ShowCursor, "show_cursor" ); INIT_GRA_PROP_BIND( Smooth, "smooth" ); diff --git a/src/graphics.cpp b/src/graphics.cpp index b92a7e2..03c9f19 100644 --- a/src/graphics.cpp +++ b/src/graphics.cpp @@ -936,13 +936,6 @@ void Graphics::fadein(int duration) } } -DEF_ATTR_RD_SIMPLE(Graphics, Smooth, bool, p->smooth) - -void Graphics::setSmooth(bool value) -{ - p->smooth = value; -} - Bitmap *Graphics::snapToBitmap() { Bitmap *bitmap = new Bitmap(width(), height());