direct3d9
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit

This commit is contained in:
Nishi 2026-09-18 16:43:15 +09:00
commit eef1c32c1b
15 changed files with 83 additions and 449 deletions

View file

@ -66,7 +66,7 @@ if (grep(/^wayland$/, @backends)) {
scan_wayland_protocol("unstable", "primary-selection", "-unstable-v1");
scan_wayland_protocol("unstable", "pointer-constraints", "-unstable-v1");
scan_wayland_protocol("unstable", "relative-pointer", "-unstable-v1");
scan_wayland_protocol("staging", "fifo", "-v1");
scan_wayland_protocol("staging", "fifo", "-v1");
scan_wayland_protocol_from_file("wlr-layer-shell",
"wlr-layer-shell-unstable-v1.xml");
@ -178,8 +178,7 @@ new_object("src/widget/window.c");
new_object("src/widget/opengl.c");
new_object("src/widget/vulkan.c");
new_object("src/widget/d3d8.c");
new_object("src/widget/d3d9.c");
new_object("src/widget/direct3d9.c");
if (param_get("opengl")) {
add_cflags("-DMW_OPENGL");
@ -187,11 +186,8 @@ if (param_get("opengl")) {
if (param_get("vulkan")) {
add_cflags("-DMW_VULKAN");
}
if (param_get("d3d8")) {
add_cflags("-DMW_DIRECTX8");
}
if (param_get("d3d9")) {
add_cflags("-DMW_DIRECTX9");
if (param_get("direct3d9")) {
add_cflags("-DMW_DIRECT3D9");
}
new_object("src/dialog/*.c");
@ -238,12 +234,8 @@ if (param_get("vulkan")) {
new_example("examples/vkdemos/vulkan");
}
if (param_get("d3d8")) {
new_example("examples/dxdemos/d3d8");
}
if (param_get("d3d9")) {
new_example("examples/dxdemos/d3d9");
if (param_get("direct3d9")) {
new_example("examples/dxdemos/direct3d9");
}
1;