Commit 154c8f58 authored by Patrice Mandin's avatar Patrice Mandin

Restore everything when a function pointer is NULL

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40991
parent 6927f1cb
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment