Minor code cleanup, renamed a variable and function.
The position and rotation of an IPO animated physical object from a library
must be transformed by the transform of its (graphical) parent (only library
nodes have a graphical parents) to be correct.
When the physics are updated from the graphics, subtract the
graphical offset again to make sure physics and graphics are in sync.
Remove wrong glHint

Spotted by ARB_DEBUG_OUTPUT
STKAnimatedMesh: Support for rimlit karts
STKAnimatedMesh: First pass id is 0, not 1
STKMesh: Properly handle setMesh
STKAnimatedMesh: Fix setMesh.

We don't clean our vram however.
Move final blit in renderGLSL instead of pp
Revert "Move final blit in renderGLSL instead of pp"

This reverts commit 16d87cf82033125ee269f726a0e25fd1ec79da89.
Improve profiler a bit
Merge branch 'master' of github.com:supertuxkart/stk-code
Clarify a couple error messages
Merge branch 'master' of https://github.com/supertuxkart/stk-code
Factorize GL state changes to get better performances.
Revert "Factorize GL state changes to get better performances."

This reverts commit 17be149e02262e2c22ab2a1aa40bdfe8ec696251.
Minor profiler updates
Merge branch 'master' of https://github.com/supertuxkart/stk-code
Fix compilation
STKMesh may want to draw rimlimit materials