Thomas Zimmermann writes:
> Add screen_info_pixel_format(), which converts a screen_info's
> information about the color format to struct pixel_format. The encoding
> within the screen_info structure is complex and therefore prone to
> errors. Later patches will convert callers to use the pixel f
Add screen_info_pixel_format(), which converts a screen_info's
information about the color format to struct pixel_format. The encoding
within the screen_info structure is complex and therefore prone to
errors. Later patches will convert callers to use the pixel format.
Signed-off-by: Thomas Zimmer