Jump to content

  • Log In with Google      Sign In   
  • Create Account

zgysx

Member Since 02 Apr 2012
Offline Last Active May 30 2013 06:46 PM

#4958227 Gamebryo: Program crash when render NiMeshScreenElements

Posted by zgysx on 11 July 2012 - 07:41 PM

I solve this bug, because I created NiMeshScreenElements before create NiRender. so the NiMeshScreenElements::m_eColorFormat was F_FLOAT32_4.
I created a NiRender, and then create NiMeshScreenElements, NiMeshScreenElements::m_eColorFormat become F_NORMUINT8_4_BGRA, this is a correct value. Everything is ok.
I am so ashamed.
Thanks Hodgman all the same.


PARTNERS