Restore everything when a function pointer is NULL
authorPatrice Mandin <patmandin@gmail.com>
Fri, 26 Nov 2004 16:13:24 +0000
changeset 9908e20c48a9c13
parent 989 475166d13b44
child 991 12b13601a544
Restore everything when a function pointer is NULL
test/testdyngl.c
     1.1 --- a/test/testdyngl.c	Thu Nov 25 15:47:49 2004 +0000
     1.2 +++ b/test/testdyngl.c	Fri Nov 26 16:13:24 2004 +0000
     1.3 @@ -106,6 +106,8 @@
     1.4  		printf("Unable to init SDL : %s\n",SDL_GetError());
     1.5  		exit(1);
     1.6  	}
     1.7 +
     1.8 +	atexit(SDL_Quit);
     1.9  	
    1.10  	if (SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER,1)<0)
    1.11  	{