graphics.h: removed getFramebuffer method

This commit is contained in:
Federico Amedeo Izzo 2020-10-05 20:28:27 +02:00 committed by Niccolò Izzo
parent f17a9241cc
commit c24e56185c
1 changed files with 0 additions and 16 deletions

View File

@ -76,22 +76,6 @@ typedef struct color_t
*/ */
void graphics_init(); void graphics_init();
/**
* This function calls the correspondent method of the low level interface display.h
* Get pointer to framebuffer. Being this a standard interface for all the
* low-level display drivers, this function returns a pointer to void: it's up
* to the caller performing the correct cast to one of the standard types used
* for color coding.
* Changes to the framebuffer will not be reflected on the display until
* graphics_render() or graphics_renderRows() are called.
*
*
* WARNING: no bound check is performed! Do not call free() on the pointer
* returned, doing so will destroy the framebuffer!
* @return pointer to framebuffer.
*/
void *graphics_getFrameBuffer();
/** /**
* This function calls the correspondent method of the low level interface display.h * This function calls the correspondent method of the low level interface display.h
* It turns off backlight, shuts down backlight control and deallocates the framebuffer. * It turns off backlight, shuts down backlight control and deallocates the framebuffer.