changes
This commit is contained in:
@@ -69,11 +69,8 @@ int main(void)
|
|||||||
|
|
||||||
mlog("[CONTEXT] Inicializando...\n");
|
mlog("[CONTEXT] Inicializando...\n");
|
||||||
{
|
{
|
||||||
if (!(init_context()))
|
init_context();
|
||||||
{
|
|
||||||
mlog("[CONTEXT] Error al inicializar...\n");
|
|
||||||
goto error_context;
|
|
||||||
}
|
|
||||||
set_clean_color_context(0x2E, 0x07, 0x3F);
|
set_clean_color_context(0x2E, 0x07, 0x3F);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -140,7 +137,7 @@ int main(void)
|
|||||||
mlog("[GUI] Inicializando...\n");
|
mlog("[GUI] Inicializando...\n");
|
||||||
{
|
{
|
||||||
struct nk_font_atlas* atlas;
|
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_begin(&glfw, &atlas);
|
||||||
nk_glfw3_font_stash_end(&glfw);
|
nk_glfw3_font_stash_end(&glfw);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user