This commit is contained in:
Crisel
2024-11-29 15:49:17 -06:00
parent 03796fdaff
commit 56339e9e10

View File

@@ -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);
}