Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1550 → Rev 1549

/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");
exit(1);
sys_end();
}
 
}
149,7 → 149,7
cprintf("Error: Cannot open graphical mode\n");
KEYB26_close();
INPUT26_close();
exit(1);
sys_end();
}
FB26_use_grx(FRAME_BUFFER_DEVICE);
193,6 → 193,8
 
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);
 
exit(0);
sys_end();
 
}
 
263,7 → 263,7
void program_key_end(KEY_EVT *k)
{
 
exit(0);
sys_end();
 
}
 
277,7 → 277,7
 
}
 
exit(0);
sys_end();
 
}
 
306,7 → 306,7
 
}
 
exit(0);
sys_end();
 
}
 
329,6 → 329,7
 
refresh_PID = task_create("refresh", refresh, &ht_refresh, NULL);
if (refresh_PID == -1) {
sys_end();
exit(4);
}
 
342,6 → 343,7
disegna_PID = task_create("disegna", disegna, &ht_disegna, NULL);
if (disegna_PID == -1) {
sys_end();
exit(4);
}