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

blah blah blah

Sign in to follow this  


I fixed the menu not displaying on first run problem. I was not setting up the projection matrix prior to rendering. It was being done in the code that loads the level, so I simply added another call to my function that sets the projection matrix in DX.

I still cannot locate the non-zero reference that DX is warning about. It kinda bugs me because it showed up at a seemingly random time in development, and that I can't track it down. It also sucks because when in fullscreen mode, the app exits and its still in fullscreen while the warning message is not above the game. I think this could be my own fault, I don't really know how to call a proper exit. So I just use Alt+F4 and DX seems to call all the cleanup functions (virtuals from the sample framework).

Oh well, I found a pretty good (sounding) memory tracker on flipcode. It adds a track when the new is called, and watches for the delete. At a point in the code, you call another function that checks for any 'new' entries that have not been deleted. It even uses filename and line in the output, which I think is sweet!
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