Sign in to follow this  
Tim Lawton

__vfptr and UpdateSubresource

Recommended Posts

I'm currently trying to refactor a piece of code to load an MD5 model, during the render part of the code my UpdateSubresource takes in the first Parameters cbPerObjectBuffer (constant buffer per object buffer). unfortunately  __vfptr seems be holding the wrong/none of the values it should be


		deviceContext->UpdateSubresource( cbPerObjectBuffer, 0, NULL, &m_cbPerObj, 0, 0 );



This is what I get



This is what I should be getting




Can anyone tell me how to get values for __vfptr?

Share this post

Link to post
Share on other sites

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

Sign in to follow this