Update commands to be compatible with command blocks
Merge pull request #2165 from Snaipe/command

Update commands to be compatible with command blocks
Animation working
Try to fix usage of frameBuffer
Fixed using the 3.2 override for glFramebufferTexture
Don't disable the framebuffer if it's not supported.  This masks the problem, doesn't fix it.  We need these to work, so if it's failing we need to fix it, not just turn them off
Missed a checkError call
Removed invalid enums
simplified logic for framebuffer detection
Start work on elements array (GL40)
Add GL40 support (to use element array)
Fix screen orientation.
Signed-off-by: Karang <arthur.hennequin@free.fr>
Merge pull request #2168 from Karang/master

Fix screen orientation.
More work on EntityRenderer