/* call-seq: * window.setFramerateLimit( new_limit ) * * Limit the framerate to a maximum fixed frequency. * * If a limit is set, the window will use a small delay after each call to Display() to ensure that the current frame * lasted long enough to match the framerate limit. */ static VALUE Window_SetFramerateLimit( VALUE self, VALUE aLimit ) { sf::Window *object = NULL; Data_Get_Struct( self, sf::Window, object ); object->SetFramerateLimit( FIX2UINT( aLimit ) ); return Qnil; }