In my coding I have had problems with using static classes with sf::Image and sf::Sprite members.
When I comment out the variable, the program runs perfectly, but when the variable is a member of the static class, i get the mutex error:
myMutex(mutex)
{
myMutex.Lock();
}
Oh and it runs fine in Release mode, just not Debug mode. Which leads me to believe it may be related to that damn ATI bug :evil:
What could cause this? I should probably post the code, i tried to replicate it in a small sample code but I haven't so far.
Edit: blah it is late, the ati bug doesn't have anything to do with debug/release i dont think.