Since yesterday i'm trying to do a background resource loading with no success.
As i've read in the forum i made all the ResourceBackgroundQueue and ticket things.
But Since i've changed the THREAD_SUPPORT from 0 to 1 and rebuilt the OGRE and my Project' i have the following problem.
When i'm trying to create a manual Texture i get a crash. it start in my command :
and continue into Ogre_Main when it stops/break in :m_RGBOverLayTexture = Ogre::TextureManager::getSingleton().createManual("RGBOverLayTexture",Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME,Ogre::TEX_TYPE_2D,VIDEO_WIDTH, VIDEO_HIGHT,0,Ogre::PF_R8G8B8,Ogre::TU_DYNAMIC_WRITE_ONLY_DISCARDABLE);
thread_primitives.hpp
In function :
boost::detail::win32
in that line :
does anyone know what can be the problem ? please help me. it is very important to me.#pragma intrinsic(_interlockedbittestandreset)
inline bool interlocked_bit_test_and_set(long* x,long bit)
{
return _interlockedbittestandset(x,bit)!=0;
}
inline bool interlocked_bit_test_and_reset(long* x,long bit)
{
return _interlockedbittestandreset(x,bit)!=0;
}
}
}
}
Jackal.