Add mipmapping and sRGB FBO support.