missing mipmaps, wrong ifdefs