Skip to content

Commit

Permalink
Restore everything when a function pointer is NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
pmandin committed Nov 26, 2004
1 parent edee113 commit 165d005
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/testdyngl.c
Expand Up @@ -106,6 +106,8 @@ int main(int argc,char *argv[])
printf("Unable to init SDL : %s\n",SDL_GetError());
exit(1);
}

atexit(SDL_Quit);

if (SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER,1)<0)
{
Expand Down

0 comments on commit 165d005

Please sign in to comment.