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.
Top comments (0)