minor change NULL to nullptr

This commit is contained in:
frank 2021-09-09 22:55:41 -04:00
parent e2f5126d0a
commit 87b1fa735c
1 changed files with 3 additions and 3 deletions

View File

@ -746,15 +746,15 @@ void Game::handle_quit_event(SDL_Event &event)
void Game::quit()
{
if (glcontext != NULL)
if (glcontext != nullptr)
{
SDL_GL_DeleteContext(glcontext);
}
if (renderer != NULL)
if (renderer != nullptr)
{
SDL_DestroyRenderer(renderer);
}
if (window != NULL)
if (window != nullptr)
{
SDL_DestroyWindow(window);
}