changeset 1831:478ab1f4ff94

Fix regression in handling of context recreation in Nuklear UI
author Michael Pavone <pavone@retrodev.com>
date Sun, 07 Apr 2019 23:07:19 -0700
parents 2f3600e204b0
children b35743f28744
files nuklear_ui/blastem_nuklear.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/nuklear_ui/blastem_nuklear.c	Sun Apr 07 22:53:23 2019 -0700
+++ b/nuklear_ui/blastem_nuklear.c	Sun Apr 07 23:07:19 2019 -0700
@@ -2059,6 +2059,7 @@
 static void context_created(void)
 {
 	context = nk_sdl_init(render_get_window());
+	nk_sdl_device_create();
 	style_init();
 	texture_init();
 }