/* call-seq: * mode.bitsPerPixel=(new_bpp) -> new_bpp * * Video mode pixel depth, in bits per pixels. */ static VALUE VideoMode_SetBitsPerPixel( VALUE self, VALUE aValue ) { sf::VideoMode *object = NULL; Data_Get_Struct( self, sf::VideoMode, object ); return INT2FIX( object->BitsPerPixel = NUM2UINT( aValue ) ); }