Mercurial > repos > blastem
view nuklear_ui/blastem_nuklear.h @ 1536:982c5327dfcc nuklear_ui
Fix memory leak in edge case of font_win
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 25 Mar 2018 10:29:40 -0700 |
parents | b82a44729d7c |
children | 7121daaa48c2 |
line wrap: on
line source
#ifndef BLASTEM_NUKLEAR_H_ #define BLASTEM_NUKLEAR_H_ #define NK_INCLUDE_FIXED_TYPES #define NK_INCLUDE_STANDARD_IO #define NK_INCLUDE_STANDARD_VARARGS #define NK_INCLUDE_DEFAULT_ALLOCATOR #define NK_INCLUDE_VERTEX_BUFFER_OUTPUT #define NK_INCLUDE_FONT_BAKING #include "nuklear.h" #include "nuklear_sdl_gles2.h" void blastem_nuklear_init(uint8_t file_loaded); void show_pause_menu(void); uint8_t is_nuklear_active(void); uint8_t is_nuklear_available(void); void ui_idle_loop(void); #endif //BLASTEM_NUKLEAR_H_