Unify CSceneManager::getMesh functions (put identical code in getUncachedMesh).
Remove some warnings.
Remove warnings in ES1 and ES2 getColorFormatParameters functions as was done in OpenGL before.
Merge revisions r5532 through r5538 from trunk to ogl-es-
Model seems to be: https://www.turbosquid.com/3d-models/free-cart-3d-model/228972 Part of the bug is that readObj2 calls Indices.clear() on each chunk. But doesn't seem to be the whole problem.
Revert ftell checks from r5532. Add documentation.
Fix crash on quitting MaterialViewer.
Move log errors from getColorFormatParameters to the functions using it.