Initial check-in of icontext work.

This commit is contained in:
Bart House
2018-11-22 20:53:24 -08:00
parent 247626dfe5
commit 455d2769e0
11 changed files with 325 additions and 5 deletions
+7
View File
@@ -360,3 +360,10 @@ pixel (*pixels)[TILE_X];
}
}
}
/* nhassert_failed is called when an nhassert's condition is false */
void nhassert_failed(const char * exp, const char * file, int line)
{
Fprintf(stderr, "NHASSERT(%s) in '%s' at line %d\n", exp, file, line);
exit(EXIT_FAILURE);
}
+1
View File
@@ -97,6 +97,7 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine,
win10_init();
icontext_init();
sys_early_init();
/* init applicatio structure */