graphics.h: removed getFramebuffer method

replace/504e4cc87d8b95378328383e7eec6ca507061949
Federico Amedeo Izzo 2020-10-05 20:28:27 +02:00 zatwierdzone przez Niccolò Izzo
rodzic f17a9241cc
commit c24e56185c
1 zmienionych plików z 0 dodań i 16 usunięć

Wyświetl plik

@ -76,22 +76,6 @@ typedef struct color_t
*/
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
* It turns off backlight, shuts down backlight control and deallocates the framebuffer.