Mercurial > repos > blastem
diff render.h @ 1642:c6b2c0f8cc61
Implemented support for toggling off a debug view
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 19 Nov 2018 19:10:16 -0800 |
parents | c4ba3177b72d |
children | b500e971da75 |
line wrap: on
line diff
--- a/render.h Mon Nov 19 09:52:07 2018 -0800 +++ b/render.h Mon Nov 19 19:10:16 2018 -0800 @@ -90,6 +90,7 @@ 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