Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

I hate pointers

Sign in to follow this  


OK, I just reorganized a large part of the scene graph engine. I made simple wrapper classes for all the resources (mesh and texture so far) to add an extra layer of abstraction. After doing all of this and fixing hundreds of other bugs I inadvertantly created, I now have a memory leak problem. DirectX is throwing allocIDs for every single object i use (the d3d obj, the device, etc.), so that doesn't help much.

I also tried a separate memory leak tracker, but that doesn't report any leaks. I'll just leave it for now any go through everything again tomorrow if I have a chance (I have an 8 hour block of classes 10-6). Maybe something miraculous will happen... Otherwise I'm going to have to rewrite quite a bit of it.
Sign in to follow this  


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!