Skip to main content

All Questions

3 votes
1 answer
934 views

Texture managing with smart pointers

I have an SDL_Wrapper which is working perfectly (it is not broken)! Please suggest how I could improve performance, and how I could make my ...
MattMatt's user avatar
  • 593
2 votes
2 answers
1k views

Creating an optimized, fully functional TextureManager in SDL

After I've discussed pointer semantics with Loki Astari previously, I finally managed to code the TextureManager class using auto_pointers. But the problem is that ...
MattMatt's user avatar
  • 593
2 votes
2 answers
2k views

Using std::vectors to store textures

I need to write a TextureManager class which stores Texture objects; the problem is I'm using an ...
MattMatt's user avatar
  • 593
1 vote
2 answers
177 views

C++ Disposing Textures

Recently, I've asked in a code review if my code was causing any pointer related issues. They mentioned that I had problems with my dispose method. Basically, I'm disposing textures from a texture map,...
MattMatt's user avatar
  • 593
6 votes
4 answers
8k views

Texture managing

I'm new to C++ and SDL, and I've written a Texture manager class whose purpose is to help me manage sprites and other textures. I have a ...
MattMatt's user avatar
  • 593