summaryrefslogtreecommitdiff
path: root/render.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2018-11-19 19:10:16 -0800
committerMichael Pavone <pavone@retrodev.com>2018-11-19 19:10:16 -0800
commit9316f533ab20aa79cf0a5863452efdadfad91f6f (patch)
treeea325d4504d284c533b01189005132633268fa18 /render.h
parent654b9b962025cd4bb404eeccfb3ef1fcfd40ece7 (diff)
Implemented support for toggling off a debug view
Diffstat (limited to 'render.h')
-rw-r--r--render.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/render.h b/render.h
index 8625ad5..fd05811 100644
--- a/render.h
+++ b/render.h
@@ -90,6 +90,7 @@ typedef void (*drop_handler)(const char *filename);
uint32_t render_map_color(uint8_t r, uint8_t g, uint8_t b);
void render_save_screenshot(char *path);
uint8_t render_create_window(char *caption, uint32_t width, uint32_t height);
+void render_destroy_window(uint8_t which);
uint32_t *render_get_framebuffer(uint8_t which, int *pitch);
void render_framebuffer_updated(uint8_t which, int width);
//returns the framebuffer index associated with the Window that has focus