diff --git a/src/rhi/test_main.cpp b/src/rhi/test_main.cpp deleted file mode 100644 index 4990e4a..0000000 --- a/src/rhi/test_main.cpp +++ /dev/null @@ -1,27 +0,0 @@ -#include -#include "rhi/rt64_render_interface.h" - -namespace RT64 { - extern std::unique_ptr CreateD3D12Interface(); - extern std::unique_ptr CreateVulkanInterface(); -} - -int main() { - std::unique_ptr renderInterface; - - // Create a render interface with the preferred backend. - const bool useVulkan = true; - if (useVulkan) { - renderInterface = RT64::CreateVulkanInterface(); - } - else { -#ifdef _WIN64 - renderInterface = RT64::CreateD3D12Interface(); -#else - assert(false); -#endif - } - - // Execute a blocking test that creates a window and draws some geometry to test the render interface. - RT64::RenderInterfaceTest(renderInterface.get()); -}