anchor.diff:  @echo.
   @echo Replace softpipe+llvpipe without GLES support from pass 2 with ones from pass 1
   @echo.
  -@del %mesa%\build\windows-%longabi%\gallium\targets\libgl-gdi\opengl32.dll
  -@copy %mesa%\build\windows-%longabi%\bin\opengl32.dll %mesa%\build\windows-%longabi%\gallium\targets\libgl-gdi
  +@del %mesa%\mesa\build\windows-%longabi%\gallium\targets\libgl-gdi\opengl32.dll
  +@copy %mesa%\mesa\build\windows-%longabi%\bin\opengl32.dll %mesa%\mesa\build\windows-%longabi%\gallium\targets\libgl-gdi
   @echo.
   
   :skipmesa
  
positive.code: @echo Beginning 2nd build pass
  @echo.
  @echo Backing softpipe+llvmpipe drivers having GLES support
  @IF EXIST %mesa%\build\windows-%longabi%\bin\opengl32.dll del %mesa%\build\windows-%longabi%\bin\opengl32.dll
  @copy %mesa%\build\windows-%longabi%\gallium\targets\libgl-gdi\opengl32.dll %mesa%\build\windows-%longabi%\bin
  @echo.
  @echo Second stage build command: %rootbuildcmd% libgl-gdi osmesa
  @echo.
  
negative.code: @rem finally build again libgl-gdi and osmesa without GLES. Caveat: osmesa will not have GLES support and it may no longer
  @rem work with swr. In the end restore the original libgl-gdi with GLES support.
  @git apply -v ..\mesa-dist-win\patches\osmesa.patch
  @echo.
  
  :configmesabuild
  @rem Configure Mesa build.
  