Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1549 → Rev 1550

/demos/trunk/mesatex/initfile.c
122,7 → 122,7
shutdown_task_PID = task_create("Shutdown Task",shutdown_task_body,&nrt,NULL);
if (shutdown_task_PID == NIL) {
sys_shutdown_message("Error: Cannot create shutdown task\n");
sys_end();
exit(1);
}
 
}
149,7 → 149,7
cprintf("Error: Cannot open graphical mode\n");
KEYB26_close();
INPUT26_close();
sys_end();
exit(1);
}
FB26_use_grx(FRAME_BUFFER_DEVICE);
193,8 → 193,6
 
sys_shutdown_message("-- S.Ha.R.K. Closed --\n");
 
sys_abort_shutdown(0);
 
return NULL;
 
}
/demos/trunk/mesatex/mesatex.c
256,7 → 256,7
OSMesaDestroyContext(ctx);
free(rgb_565_buf);
 
sys_end();
exit(0);
 
}
 
263,7 → 263,7
void program_key_end(KEY_EVT *k)
{
 
sys_end();
exit(0);
 
}
 
277,7 → 277,7
 
}
 
sys_end();
exit(0);
 
}
 
306,7 → 306,7
 
}
 
sys_end();
exit(0);
 
}
 
329,7 → 329,6
 
refresh_PID = task_create("refresh", refresh, &ht_refresh, NULL);
if (refresh_PID == -1) {
sys_end();
exit(4);
}
 
343,7 → 342,6
disegna_PID = task_create("disegna", disegna, &ht_disegna, NULL);
if (disegna_PID == -1) {
sys_end();
exit(4);
}