DEV Community

loading...

Using SDL2: Quick update

Noah11012
Updated on ・1 min read

So, I left out something important from the previous articles.

Um... Okay. What is it?

SDL has an initialization function and a deinitialization function called SDL_Quit(). It needs to be called before your application quits.

Did you forget or you just wanted to "keep the code cleaner"?

No, I forgot. It should go into the Application class's deconstructor.

Discussion (0)