From 56339e9e10ce6cd3a23d0429df294d584c9887eb Mon Sep 17 00:00:00 2001 From: Crisel Date: Fri, 29 Nov 2024 15:49:17 -0600 Subject: [PATCH] changes --- src/main.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/main.c b/src/main.c index 4a415b3..a8da354 100644 --- a/src/main.c +++ b/src/main.c @@ -69,11 +69,8 @@ int main(void) mlog("[CONTEXT] Inicializando...\n"); { - if (!(init_context())) - { - mlog("[CONTEXT] Error al inicializar...\n"); - goto error_context; - } + init_context(); + set_clean_color_context(0x2E, 0x07, 0x3F); } @@ -140,7 +137,7 @@ int main(void) mlog("[GUI] Inicializando...\n"); { struct nk_font_atlas* atlas; - context = nk_glfw3_init(&glfw, window, NK_GLFW3_DEFAULT ); + context = nk_glfw3_init(&glfw,(GLFWwindow*) window, NK_GLFW3_DEFAULT ); nk_glfw3_font_stash_begin(&glfw, &atlas); nk_glfw3_font_stash_end(&glfw); }