I somehow missed a very bad bug in Texture::genMipmap. It's fixed now