Synopsis
void ctl_gfx_controller_configure_depth(CTL_GFX_CONTROLLER_t *self,
                                        int depth);
Description

ctl_gfx_controller_configure_depth configures the driver self methods draw_pixel, fill_rectangle, and convert_pixel for the color depth depth, which must be 8, 12, 16, or 16, by calling the appropriate setup routine.

See Also

ctl_gfx_controller_configure_8b_depth, ctl_gfx_controller_configure_12b_depth, ctl_gfx_controller_configure_16b_depth, ctl_gfx_controller_configure_18b_depth