Skip to content

Commit

Permalink
Disable OpenXR sample on UWP
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravbug committed Oct 16, 2023
1 parent e2caa9e commit 4268a3d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
7 changes: 0 additions & 7 deletions 01-HelloTriangle/hellotriangle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,13 +191,6 @@ struct HelloWorld : public AppBase {
.inputAssembly = {
.topology = RGL::PrimitiveTopology::TriangleList,
},
.viewport = {
.width = (float)width,
.height = (float)height
},
.scissor = {
.extent = {width, height}
},
.rasterizerConfig = {
.windingOrder = RGL::WindingOrder::Counterclockwise,
},
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ add_sample(01-HelloTriangle)
add_sample(02-Cubes)
add_sample(03-Imgui)
add_sample(04-Deferred)
if (CMAKE_SYSTEM_NAME MATCHES "Windows" OR CMAKE_SYSTEM_NAME MATCHES "WindowsStore") # OpenXR only on windows fornow
if (CMAKE_SYSTEM_NAME STREQUAL "Windows") # OpenXR only on windows fornow
add_sample(05-XR)
target_link_libraries(05-XR
PUBLIC
Expand Down
2 changes: 1 addition & 1 deletion deps/RGL

0 comments on commit 4268a3d

Please sign in to comment.