From c2e5d2468ad6a38cdb8a067da0678302f6cc6066 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Fri, 13 Sep 2019 15:59:15 -0400 Subject: Refactor render-test to make cross platform (#1053) * First pass of render-test refactor. * Make window construction a function that can choose an implementation. * Remove OpenGL as currently has windows dependency. * Disable Vulkan as Renderer impl has dependency on windows. * Pass Window in as parameter of 'update'. * Add win-window.cpp as was missing. * Fix warning on windows about signs during comparison. --- examples/model-viewer/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/model-viewer') diff --git a/examples/model-viewer/main.cpp b/examples/model-viewer/main.cpp index 66a53c245..5dcc51257 100644 --- a/examples/model-viewer/main.cpp +++ b/examples/model-viewer/main.cpp @@ -18,7 +18,7 @@ // #include "gfx/model.h" #include "gfx/render.h" -#include "gfx/render-d3d11.h" +#include "gfx/d3d11/render-d3d11.h" #include "gfx/vector-math.h" #include "gfx/window.h" #include "gfx/gui.h" -- cgit v1.2.3