Fixed errors caused by latest math changes
Check pointer validity in SpriteBatch

It's safe to delete a nullptr so a check for that is not required
Particles can now change color
fixed shaders for amd graphics cards (atleast my computer)
Merge branch 'develop' into feature/origin

Conflicts:
	vs2010/TestProject/source/TestScene.cpp