valeurs de erreurs d'exception gres:

1L = mmoire insuffisante / out of Memory (need exit)
2L = liste non dfinie / list not defined (not need exit)
3L = glGet: option non implmente / glGet: option not implemented (not need exit)
4L = glViewport: impossible dans changer la taille dessin / glViewport: error while resizing display (need exit)
5L = glViewport: taille incohrante<=0! / glViewport: size too small (need exit)
6L = Erreur allocation de buffer specular / could not allocate specular buffer (need exit)
7L = Erreur de paramtres pour glTexImage2D / glTexImage2D: combinaison of parameters not handled (need exit)
8L = glTexParameter: Option non supporte / glTexParameter: unsupported option (not need exit)
9L = glPixelStore: Option non supporte / glPixelStore: unsupported option (need exit)
10L= glBegin: option non supporte / glBegin: unsupported option (need exit)
11L= No sharing available in TinyGL (not need exit)
12L= zdither: pas assez de couleurs / zdither: not enough colors
13L= mmoire insuffisante information peut tre pas besoin de quitter / out of Memory perhaps not need to exit
14L= Impossible de sauver l'image / can't save picture (not need exit)

100L= Warning niveau mmoire basse (<32Ko) / Warning low memory level (<32Ko) (not need exit)
101L= Warning erreur interne de clipping / internal clipping error (not need exit)
102L= Warning: unknown pname in glGetFloatv()
103L= Warning: glEnableDisable: Option non supporte / glEnableDisable: unsupported option (not need exit)

utilisation des erreurs d'exception / use of errors exceptions

void __cdecl mon_exception(long error)
{
	switch(error)
	{
		case 1L:  printf("Mmoire inconnue\n");
		break;
		....
		default : printf("Erreur inconnue\n");
	}
}

Cette fonction sera utilise en cas d'erreur dans Tiny_gl.ldg

dans le programme aprs initialisation / in the program after init
et avant utilisation des autres fonction de la lib / and before use of 
others functions of the library


if(exception_error) exception_error(mon_exception);  // declaration


Olivier Landemarre