Merge pull request #2182 from bergerkiller/master

Improved shader compile logging
Fix NPE with animation

Signed-off-by: L5D <L5D@L5D-PC>
Replace glGetProgram deprecated by glGetProgrami
Add info about attribute and uniform in the shader, allow to make more
check on gl usage.

Signed-off-by: L5D <L5D@L5D-PC>
Fix frame index

Signed-off-by: L5D <L5D@L5D-PC>
Fix frame index in exporter
Signed-off-by: Karang <arthur.hennequin@free.fr>
Merge pull request #2183 from Karang/master

Fix frame index in exporter
Fixed explicit cast and slightly improved logging

Signed-off-by: Irmo van den Berge <bergerkiller@gmail.com>