minor fixes

fixed Texture::Active
support for gl without GL_PRIMITIVE_RESTAR in shapes::Revolve