Replace glGenerateMipmapEXT with glGenerateMipmap