Example #1
0
/* ======
 * con_free - Free the console.
 * ======
 */
void _CDECL_ con_free(void)
{
    if (con_initialized) {
        PrintLog ("shutting down the console\n");
        CON_Free(Console);
        con_initialized = 0;
    }
}
Example #2
0
/* Frees all the memory loaded by the console */
void CON_Destroy(ConsoleInformation *console) {
    DT_DestroyDrawText();
    CON_Free(console);
}