From 8e262181e6f85bc89dfed652d971a876c7e6e153 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 23 Oct 2013 22:45:41 +0100 Subject: When destroying framebuffer, ensure any cursor is destroyed. --- include/cursor.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/cursor.h b/include/cursor.h index 076e6c9..15751bd 100644 --- a/include/cursor.h +++ b/include/cursor.h @@ -38,4 +38,7 @@ bool nsfb_cursor_plot(nsfb_t *nsfb, struct nsfb_cursor_s *cursor); /** Clear the cursor restoring the image underneath */ bool nsfb_cursor_clear(nsfb_t *nsfb, struct nsfb_cursor_s *cursor); +/** Destroy the cursor */ +bool nsfb_cursor_destroy(struct nsfb_cursor_s *cursor); + #endif /* CURSOR_H */ -- cgit v1.2.3