Make sure to clear the mipmap buffer before use.