jeudi 3 août 2017

Single or multiple SDL_Renderer

I'm slowly designing structure of classes involved in my "game", and I wonder if SDL_Renderer should be a common resource, synchronized across multiple threads or each different object should have its own Renderer (ex. each enemy refers to its own renderer to make its presence on the window). Any advice would be appreciated, best with an explanation.

Thanks in advance.

Aucun commentaire:

Enregistrer un commentaire