Skip to content
Permalink
Browse files

Restore everything when a function pointer is NULL

  • Loading branch information
pmandin committed Nov 26, 2004
1 parent edee113 commit 165d005d6b8b9235d8785140078e7a1e375d5f97
Showing with 2 additions and 0 deletions.
  1. +2 −0 test/testdyngl.c
@@ -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)
{

0 comments on commit 165d005

Please sign in to comment.