cmake: disable GPU backends for winrt

This commit is contained in:
Ozkan Sezer 2024-09-05 22:10:10 +03:00 committed by Ozkan Sezer
parent f494658f9c
commit c0b15e57f4
1 changed files with 1 additions and 1 deletions

View File

@ -2943,7 +2943,7 @@ if(SDL_VIDEO)
endif()
endif()
if(SDL_GPU)
if(SDL_GPU AND NOT WINDOWS_STORE)
if(HAVE_D3D11_H)
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/gpu/d3d11/*.c")
set(SDL_GPU_D3D11 1)