/* call-seq:
* depth
*
* Return the color depth (in bits per pixel) of the surface.
*/
VALUE rbgm_surface_get_depth(VALUE self)
{
SDL_Surface *surf;
Data_Get_Struct(self, SDL_Surface, surf);
return UINT2NUM(surf->format->BitsPerPixel);
}