From ef84ba3f1f23bc5ab5a879d385269d639c8acb36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sun, 8 Feb 2015 11:02:39 -0800 Subject: [PATCH] Cleanup. --- .gitignore | 13 ++++++------- src/renderer_d3d12.cpp | 6 ++++++ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 974eaf2b9..43c5713f9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,6 @@ -.build -.debug -.DS_Store -.git -.svn -tags -src/renderer_d3d12.* +.build +.debug +.DS_Store +.git +.svn +tags diff --git a/src/renderer_d3d12.cpp b/src/renderer_d3d12.cpp index f2ff51948..250542308 100644 --- a/src/renderer_d3d12.cpp +++ b/src/renderer_d3d12.cpp @@ -5,6 +5,10 @@ #include "bgfx_p.h" +#if BGFX_CONFIG_RENDERER_DIRECT3D12 +# include "../../d3d12/src/renderer_d3d12.cpp" +#else + namespace bgfx { RendererContextI* rendererCreateD3D12() @@ -16,3 +20,5 @@ namespace bgfx { } } // namespace bgfx + +#endif // BGFX_CONFIG_RENDERER_DIRECT3D12