From 3dd3a86a4dfc31e1c240b41b9b5a25618de6f7f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Thu, 11 Jun 2015 14:26:01 -0700 Subject: [PATCH] Fixed amalgamated build. --- scripts/bgfx.lua | 1 + src/amalgamated.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/bgfx.lua b/scripts/bgfx.lua index 693b7a3c..28d4f766 100644 --- a/scripts/bgfx.lua +++ b/scripts/bgfx.lua @@ -136,6 +136,7 @@ function bgfxProject(_name, _kind, _defines) path.join(BGFX_DIR, "src/renderer_d3d9.cpp"), path.join(BGFX_DIR, "src/renderer_d3d11.cpp"), path.join(BGFX_DIR, "src/renderer_d3d12.cpp"), + path.join(BGFX_DIR, "src/renderer_mtl.cpp"), path.join(BGFX_DIR, "src/renderer_null.cpp"), path.join(BGFX_DIR, "src/renderer_gl.cpp"), path.join(BGFX_DIR, "src/renderer_vk.cpp"), diff --git a/src/amalgamated.cpp b/src/amalgamated.cpp index 2a88eeab..6c0238bd 100644 --- a/src/amalgamated.cpp +++ b/src/amalgamated.cpp @@ -14,6 +14,7 @@ #include "renderer_d3d9.cpp" #include "renderer_d3d11.cpp" #include "renderer_d3d12.cpp" +#include "renderer_mtl.cpp" #include "renderer_null.cpp" #include "renderer_gl.cpp" #include "renderer_vk.cpp"