D3DXComputeTangentFrameEx problem

Started by
11 comments, last by cozzie 10 years, 1 month ago
Hi buckeye.
I understand what you mean, but I don't have any memory leaks for sure (both checked with d3d/ d3dx debug and VLD). Possibly this is because the d3dxmesh member of the class is a smart pointer (CComPtr).

Crealysm game & engine development: http://www.crealysm.com

Looking for a passionate, disciplined and structured producer? PM me

Advertisement

Hi buckeye.
I understand what you mean, but I don't have any memory leaks for sure (both checked with d3d/ d3dx debug and VLD). Possibly this is because the d3dxmesh member of the class is a smart pointer (CComPtr).

Interesting, cozzie. Thanks for the reply.

Please don't PM me with questions. Post them in the forums for everyone's benefit, and I can embarrass myself publicly.

You don't forget how to play when you grow old; you grow old when you forget how to play.

No problem, here's a paste of the part of my class interface


private:
	CComPtr<ID3DXMesh>				mMesh;				// smart pointer
	CComPtr<IDirect3DVertexBuffer9> mVtxBuffer;			// smart pointer
	CComPtr<IDirect3DIndexBuffer9>	mFaceBuffer;		// smart pointer
	CComPtr<ID3DXBuffer>			mMaterialBuffer;	// smart pointer
	CComPtr<ID3DXBuffer>			mAdjacencyBuffer;	// smart pointer

Crealysm game & engine development: http://www.crealysm.com

Looking for a passionate, disciplined and structured producer? PM me

This topic is closed to new replies.

Advertisement