OpenGL mipmap fix for Windows.