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

I hate pointers

Sign in to follow this  
Sr_Guapo

375 views

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  


0 Comments


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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!