cpp |sdl

Using SDL2: Quick update

noah11012

Noah11012

Posted on November 3, 2018

Using SDL2: Quick update

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.

💖 💪 🙅 🚩
noah11012
Noah11012

Posted on November 3, 2018

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related