I am making an Sdl game, it\'s 2d shooter. I am using SDL to import surfaces and OpenGL to draw them on the screen (doing so because it works way faster than just SDL). I\'v
If you initialized SDL on GameWorld::GenerateCycles()'s thread and MovementThread is calling GameWorld::Movement() then you have a problem:
GameWorld::GenerateCycles()
MovementThread
GameWorld::Movement()
Don't call SDL video/event functions from separate threads