1. NAME

mac_vmode_to_var - converts vmode/cmode pair to var structure

2. SYNOPSIS

int mac_vmode_to_var(int  vmode , int  cmode , struct fb_var_screeninfo *  var );

3. ARGUMENTS

vmode
    MacOS video mode

cmode
    MacOS color mode

var
    frame buffer video mode structure

4. DESCRIPTION

Converts a MacOS vmode/cmode pair to a frame buffer video mode structure.

Returns negative errno on error, or zero for success.

5. COPYRIGHT