comparison src/video/SDL_video.c @ 4901:deadc1219bea

Minor cleanup in patches from Coursoud
author Sam Lantinga <slouken@libsdl.org>
date Mon, 27 Sep 2010 01:30:42 -0700
parents 69d9db65f248
children 6b89d83b0b5a
comparison
equal deleted inserted replaced
4900:69d9db65f248 4901:deadc1219bea
1465 } 1465 }
1466 if (window->flags & SDL_WINDOW_OPENGL) { 1466 if (window->flags & SDL_WINDOW_OPENGL) {
1467 SDL_GL_UnloadLibrary(); 1467 SDL_GL_UnloadLibrary();
1468 } 1468 }
1469 1469
1470 /* Now invalidate magic */ 1470 /* Now invalidate magic */
1471 window->magic = NULL; 1471 window->magic = NULL;
1472 1472
1473 /* Unlink the window from the list */ 1473 /* Unlink the window from the list */
1474 display = window->display; 1474 display = window->display;
1475 if (window->next) { 1475 if (window->next) {