SDLDisplayMode
A structure that contains the description of a display mode.
Fields
Field format:UInt
pixel format
Field width:Int
width, in screen coordinates
Field height:Int
height, in screen coordinates
Field refreshRate:Int
refresh rate (or zero for unspecified)
Field driverdata:Byte Ptr
driver-specific data, initialize to 0
Methods
Method BitsPerPixel:Int()
Returns the bits per pixel for the format
