Jump to content

  • Log In with Google      Sign In   
  • Create Account


how to fix a problem with CloneMesh function?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 steven166   Members   -  Reputation: 234

Like
0Likes
Like

Posted 11 October 2012 - 02:28 AM

After using CDXUTXFileMesh::create to create a mesh, I try to clone it for changing the vertex format but the CloneMesh function always fail?

Does anybody know the reason? help me, please?

V_RETURN( g_Mesh9.Create( pd3dDevice9, L"tiny\\tiny.x" ) );

//The CloneMesh function is invoked inside the SetVertexDecl.
//It fails and return -858993460 value
g_Mesh9.SetVertexDecl(pd3dDevice9, decl, true, false, false);


Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS