|  | 
| 26 | 26 |       - name: Install Dependencies | 
| 27 | 27 |         shell: powershell | 
| 28 | 28 |         run: | | 
| 29 |  | -          Invoke-WebRequest -Uri "https://www.libsdl.org/release/SDL2-devel-2.0.10-VC.zip" -OutFile "SDL2-devel-2.0.10-VC.zip" | 
| 30 |  | -          Expand-Archive -Path SDL2-devel-2.0.10-VC.zip | 
| 31 |  | -          echo "SDL2_DIR=$(pwd)\SDL2-devel-2.0.10-VC\SDL2-2.0.10\" >>${env:GITHUB_ENV} | 
|  | 29 | +          Invoke-WebRequest -Uri "https://www.libsdl.org/release/SDL2-devel-2.26.3-VC.zip" -OutFile "SDL2-devel-2.26.3-VC.zip" | 
|  | 30 | +          Expand-Archive -Path SDL2-devel-2.26.3-VC.zip | 
|  | 31 | +          echo "SDL2_DIR=$(pwd)\SDL2-devel-2.26.3-VC\SDL2-2.26.3\" >>${env:GITHUB_ENV} | 
| 32 | 32 | 
 | 
| 33 | 33 |           Invoke-WebRequest -Uri "https://github.com/ocornut/imgui/files/3789205/vulkan-sdk-1.1.121.2.zip" -OutFile vulkan-sdk-1.1.121.2.zip | 
| 34 | 34 |           Expand-Archive -Path vulkan-sdk-1.1.121.2.zip | 
| @@ -123,23 +123,23 @@ jobs: | 
| 123 | 123 |         run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_glfw_vulkan/example_glfw_vulkan.vcxproj /p:Platform=Win32 /p:Configuration=Release' | 
| 124 | 124 |         if: github.event_name == 'workflow_run' | 
| 125 | 125 | 
 | 
| 126 |  | -      - name: Build Win32 example_sdl_vulkan | 
|  | 126 | +      - name: Build Win32 example_sdl2_vulkan | 
| 127 | 127 |         shell: cmd | 
| 128 |  | -        run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_sdl_vulkan/example_sdl_vulkan.vcxproj /p:Platform=Win32 /p:Configuration=Release' | 
|  | 128 | +        run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_sdl2_vulkan/example_sdl2_vulkan.vcxproj /p:Platform=Win32 /p:Configuration=Release' | 
| 129 | 129 |         if: github.event_name == 'workflow_run' | 
| 130 | 130 | 
 | 
| 131 |  | -      - name: Build Win32 example_sdl_opengl2 | 
|  | 131 | +      - name: Build Win32 example_sdl2_opengl2 | 
| 132 | 132 |         shell: cmd | 
| 133 |  | -        run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_sdl_opengl2/example_sdl_opengl2.vcxproj /p:Platform=Win32 /p:Configuration=Release' | 
|  | 133 | +        run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_sdl2_opengl2/example_sdl2_opengl2.vcxproj /p:Platform=Win32 /p:Configuration=Release' | 
| 134 | 134 |         if: github.event_name == 'workflow_run' | 
| 135 | 135 | 
 | 
| 136 |  | -      - name: Build Win32 example_sdl_opengl3 | 
|  | 136 | +      - name: Build Win32 example_sdl2_opengl3 | 
| 137 | 137 |         shell: cmd | 
| 138 |  | -        run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_sdl_opengl3/example_sdl_opengl3.vcxproj /p:Platform=Win32 /p:Configuration=Release' | 
|  | 138 | +        run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_sdl2_opengl3/example_sdl2_opengl3.vcxproj /p:Platform=Win32 /p:Configuration=Release' | 
| 139 | 139 | 
 | 
| 140 |  | -      - name: Build Win32 example_sdl_directx11 | 
|  | 140 | +      - name: Build Win32 example_sdl2_directx11 | 
| 141 | 141 |         shell: cmd | 
| 142 |  | -        run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_sdl_directx11/example_sdl_directx11.vcxproj /p:Platform=Win32 /p:Configuration=Release' | 
|  | 142 | +        run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_sdl2_directx11/example_sdl2_directx11.vcxproj /p:Platform=Win32 /p:Configuration=Release' | 
| 143 | 143 |         if: github.event_name == 'workflow_run' | 
| 144 | 144 | 
 | 
| 145 | 145 |       - name: Build Win32 example_win32_directx9 | 
| @@ -168,24 +168,24 @@ jobs: | 
| 168 | 168 |         shell: cmd | 
| 169 | 169 |         run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_glfw_vulkan/example_glfw_vulkan.vcxproj /p:Platform=x64 /p:Configuration=Release' | 
| 170 | 170 | 
 | 
| 171 |  | -      - name: Build x64 example_sdl_vulkan | 
|  | 171 | +      - name: Build x64 example_sdl2_vulkan | 
| 172 | 172 |         shell: cmd | 
| 173 |  | -        run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_sdl_vulkan/example_sdl_vulkan.vcxproj /p:Platform=x64 /p:Configuration=Release' | 
|  | 173 | +        run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_sdl2_vulkan/example_sdl2_vulkan.vcxproj /p:Platform=x64 /p:Configuration=Release' | 
| 174 | 174 |         if: github.event_name == 'workflow_run' | 
| 175 | 175 | 
 | 
| 176 |  | -      - name: Build x64 example_sdl_opengl2 | 
|  | 176 | +      - name: Build x64 example_sdl2_opengl2 | 
| 177 | 177 |         shell: cmd | 
| 178 |  | -        run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_sdl_opengl2/example_sdl_opengl2.vcxproj /p:Platform=x64 /p:Configuration=Release' | 
|  | 178 | +        run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_sdl2_opengl2/example_sdl2_opengl2.vcxproj /p:Platform=x64 /p:Configuration=Release' | 
| 179 | 179 |         if: github.event_name == 'workflow_run' | 
| 180 | 180 | 
 | 
| 181 |  | -      - name: Build x64 example_sdl_opengl3 | 
|  | 181 | +      - name: Build x64 example_sdl2_opengl3 | 
| 182 | 182 |         shell: cmd | 
| 183 |  | -        run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_sdl_opengl3/example_sdl_opengl3.vcxproj /p:Platform=x64 /p:Configuration=Release' | 
|  | 183 | +        run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_sdl2_opengl3/example_sdl2_opengl3.vcxproj /p:Platform=x64 /p:Configuration=Release' | 
| 184 | 184 |         if: github.event_name == 'workflow_run' | 
| 185 | 185 | 
 | 
| 186 |  | -      - name: Build x64 example_sdl_directx11 | 
|  | 186 | +      - name: Build x64 example_sdl2_directx11 | 
| 187 | 187 |         shell: cmd | 
| 188 |  | -        run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_sdl_directx11/example_sdl_directx11.vcxproj /p:Platform=x64 /p:Configuration=Release' | 
|  | 188 | +        run: '"%MSBUILD_PATH%\MSBuild.exe" examples/example_sdl2_directx11/example_sdl2_directx11.vcxproj /p:Platform=x64 /p:Configuration=Release' | 
| 189 | 189 | 
 | 
| 190 | 190 |       - name: Build x64 example_win32_directx9 | 
| 191 | 191 |         shell: cmd | 
| @@ -389,12 +389,12 @@ jobs: | 
| 389 | 389 |       run: make -C examples/example_glfw_opengl3 | 
| 390 | 390 |       if: github.event_name == 'workflow_run' | 
| 391 | 391 | 
 | 
| 392 |  | -    - name: Build example_sdl_opengl2 | 
| 393 |  | -      run: make -C examples/example_sdl_opengl2 | 
|  | 392 | +    - name: Build example_sdl2_opengl2 | 
|  | 393 | +      run: make -C examples/example_sdl2_opengl2 | 
| 394 | 394 |       if: github.event_name == 'workflow_run' | 
| 395 | 395 | 
 | 
| 396 |  | -    - name: Build example_sdl_opengl3 | 
| 397 |  | -      run: make -C examples/example_sdl_opengl3 | 
|  | 396 | +    - name: Build example_sdl2_opengl3 | 
|  | 397 | +      run: make -C examples/example_sdl2_opengl3 | 
| 398 | 398 | 
 | 
| 399 | 399 |     - name: Build with IMGUI_IMPL_VULKAN_NO_PROTOTYPES | 
| 400 | 400 |       run: g++ -c -I. -std=c++11 -DIMGUI_IMPL_VULKAN_NO_PROTOTYPES=1 backends/imgui_impl_vulkan.cpp | 
| @@ -443,15 +443,15 @@ jobs: | 
| 443 | 443 |     - name: Build example_glfw_metal | 
| 444 | 444 |       run: make -C examples/example_glfw_metal | 
| 445 | 445 | 
 | 
| 446 |  | -    - name: Build example_sdl_metal | 
| 447 |  | -      run: make -C examples/example_sdl_metal | 
|  | 446 | +    - name: Build example_sdl2_metal | 
|  | 447 | +      run: make -C examples/example_sdl2_metal | 
| 448 | 448 | 
 | 
| 449 |  | -    - name: Build example_sdl_opengl2 | 
| 450 |  | -      run: make -C examples/example_sdl_opengl2 | 
|  | 449 | +    - name: Build example_sdl2_opengl2 | 
|  | 450 | +      run: make -C examples/example_sdl2_opengl2 | 
| 451 | 451 |       if: github.event_name == 'workflow_run' | 
| 452 | 452 | 
 | 
| 453 |  | -    - name: Build example_sdl_opengl3 | 
| 454 |  | -      run: make -C examples/example_sdl_opengl3 | 
|  | 453 | +    - name: Build example_sdl2_opengl3 | 
|  | 454 | +      run: make -C examples/example_sdl2_opengl3 | 
| 455 | 455 | 
 | 
| 456 | 456 |     - name: Build example_apple_metal | 
| 457 | 457 |       run: xcodebuild -project examples/example_apple_metal/example_apple_metal.xcodeproj -target example_apple_metal_macos | 
| @@ -482,12 +482,12 @@ jobs: | 
| 482 | 482 |         emsdk-master/emsdk install latest | 
| 483 | 483 |         emsdk-master/emsdk activate latest | 
| 484 | 484 | 
 | 
| 485 |  | -    - name: Build example_sdl_opengl3 with Emscripten | 
|  | 485 | +    - name: Build example_sdl2_opengl3 with Emscripten | 
| 486 | 486 |       run: | | 
| 487 | 487 |         pushd emsdk-master | 
| 488 | 488 |         source ./emsdk_env.sh | 
| 489 | 489 |         popd | 
| 490 |  | -        make -C examples/example_sdl_opengl3 -f Makefile.emscripten | 
|  | 490 | +        make -C examples/example_sdl2_opengl3 -f Makefile.emscripten | 
| 491 | 491 | 
 | 
| 492 | 492 |     - name: Build example_emscripten_wgpu | 
| 493 | 493 |       run: | | 
|  | 
0 commit comments