version 1.10.8 Android platform
adding element to declaration crashes:
Ogre::VertexDeclaration* decl = vertexData->vertexDeclaration;
decl->addElement(0, offset, Ogre::VET_FLOAT3, Ogre::VES_POSITION);
Anybody can help?
Ogre 1.10.8 Ogre::VertexDeclaration
-
- Gnoblar
- Posts: 4
- Joined: Tue Oct 10, 2017 2:04 am
-
- Gnoblar
- Posts: 4
- Joined: Tue Oct 10, 2017 2:04 am
Re: Ogre 1.10.8 Ogre::VertexDeclaration
It turns out - problem is not with VertexDecleration, but with Ogre Singletons (or with singletons on Android in general)
Calls to ::getSingleton() or ::getSingletonPtr() are (randomly) failing - (assertion ptr == NULL) even though a class was properly initialized with OGRE_NEW ...
Did anybody experience this? Any solution?
Calls to ::getSingleton() or ::getSingletonPtr() are (randomly) failing - (assertion ptr == NULL) even though a class was properly initialized with OGRE_NEW ...
Did anybody experience this? Any solution?