Enable mipmaps for textures.
Enable mipmaps for textures.

Allow mipmaps to be used for textures (2D and cubemaps).


Former-commit-id: 89c5d6c81757f78671522de8e44a0e3cffd94e8b
kosua20/GL_Template,kosua20/GL_Template