blah blah blah

Published February 13, 2005
Advertisement
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!
Previous Entry more stuff
Next Entry nope
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

Not bad.

1137 views

Zoned out.

1010 views

more

1089 views

Slow down champ.

908 views

I'll be back

871 views

Busy.

1025 views

oh teh noes!!

914 views
Advertisement