glTexImage2D(GL_TEXTURE_2D, 0, img.internalFormat(), img.width(), img.height(), 0, img.format(), img.type(), img.data());
} else {
fprintf(stderr, "TODO: handle uncompressed embedded textures");
glTexImage2D(GL_TEXTURE_2D, 0, img.internalFormat(), img.width(), img.height(), 0, img.format(), img.type(), img.data());
} else {
fprintf(stderr, "TODO: handle uncompressed embedded textures");