fixed Texture::Active
support for gl without GL_PRIMITIVE_RESTART
Merge branch 'develop' into Marmalade