mirror of
https://github.com/joel16/SDL2.git
synced 2024-12-04 09:33:17 +00:00
Restore everything when a function pointer is NULL
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40991
This commit is contained in:
parent
6927f1cbe4
commit
154c8f584c
@ -107,6 +107,8 @@ int main(int argc,char *argv[])
|
||||
exit(1);
|
||||
}
|
||||
|
||||
atexit(SDL_Quit);
|
||||
|
||||
if (SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER,1)<0)
|
||||
{
|
||||
printf("Unable to set GL attribute : %s\n",SDL_GetError());
|
||||
|
Loading…
Reference in New Issue
Block a user