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