Apply auto-gen mipmapping to WIN32
Merge pull request #3540 from raven02/patch-33

Apply auto-gen mipmapping to desktop